On Sat, Apr 13, 2002 at 01:55:30AM +0200, Marco Baringer wrote: > > sorry, the body of that message got lost: > > parrot is a cool technology, but it's soooo buzzword-lacking. well, > here's the solution: xml based assembler!
For those of you who were as lazy as I was and didn't bother to untar this, I took the liberty of extracting the POD and pasting it below. I would nominate this for inclusion at parrot/languages/sick/sick/sick, but then we'd have to argue over exactly what level of that hierarchy should contain the BASIC interpreter. You guys scare me. --- =head1 NAME pmlc - Parrot Markup Language Compiler. =head1 SYNOPSIS ../pmlc prog.pml > prog.pasm ../assemble.pl prog.pasm > prog.pbc ../parrot prog.pbc =head1 DESCRIPTION Parrot assembler may be great for writing fast, dynamic, high level languages which allow for both rapid prototyping and industrial strength application development, but it's got one major problem which will stop it from gaining industry wide acceptence: it's not portable, in other words, it's not XML. PML is here to solve that problem. Advantages of using PML: =over =item Increased Productivity A panel of highly acclaimed industry accedemics were contacted to perform an in-depth analysis of how PML could increase programmer productivity, they determined that a simple program to add two numbers and print the result was a measly 9 lines of code in PASM, this same program written in PML turned out to be an incredible 60 (yes, you read right, I<60>) lines of code. That's a 666% increase in productivity, you'll be smashing the competition in no time. =item Increased Portability By using fully conformant XML PML ensures that no matter what operating system or underlying hardware you use to work with your PML code it will always be the same. Imagine being able to work on some code on your PDA while flying back from the caribean and then transfer the code to your desktop machine and continue your work, without ever worrying about big-endianess or network-order, or level 2 protocol compatibility problems! =item Increased Legibility XML is an industry wide standard which is being used in every sector of the IT world. By moving away from PASM's obselete line based formatting and using pure 100% XML you ensured that all of your programmers will understand and be able to use your code base. =item Fully defined syntax By using the DTD in pml.dtd and a validating parser all sytatic erros can be caught before the program is even compiled, theryby shortening the usual edit-compile-debug loop. =back =cut