Hi
Lately I've been sorta forced into looking into XML. During one of my sleepless night I started wondering about having Perl (or any programming language for that matter) translated in some kind of semi pseudo code. It would allow us (uhm programmers, hackers, whatever you want to call yourself) to write logics and have some preprocessort write the actual code. Before you all start --'ing this meditation, I'm aware of the fact that this would probably kill the fun of coming up with JAPH tricks or TMTOWTDI ways.
XML (with the right DTD) would suit the purpose, and it would improve porting issues for ancient applications. Personally, I'd rather use some kinda preprocessable pseudo code, than code in Cobol all day long. Anyway, some braindumps :
<Print Value="Hello World"></Print>
<Print>
<Scalar Value="Hello"></Scalar>
<Scalar Value="World"></Scalar>
</Print>
<Array Name="List">
<Element Value="Foo"></Element>
<Element Value="Bar"></Element>
</Array>
<Sub Name="Foo">
_yada yada_
</Sub>
I'm probably not the first to think of it, and I wont be the last... but it's just a thought.
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.