Parakeet is an object-oriented Forth-like stack language for the Parrot VM. It is written in PIR and compiled its code directly to PIR. Parakeet lets you do logical, numeric and string operations and comparisons, conditionals and loops, define variables, functions, classes methods, create instanciate and call methods on objects.
Parakeet is Forth-like, but not anything like "standard" Forth, it is very machine specific to Parrot, building directly upon Parrot's machine semantics, not on those of late-80s micro-processors. Parakeet, for example, provides no words '@' and '!' as "direct" access to "memory" does not exist in Parrot. Data is stored and retrieved by holding references to objects like in many other OO languages. 0.3 is a major rewrite over previous versions of Parakeet. In particular, the code is much leaner now due to me removing a key design stupidity in my inline code generation. The entire language, README, and test script gzips into less than 10K. Parakeet is to the point now (I hope) where people can use it to experiment with and experience Parrot from a different perspective. The interactive PIR and opcode tracing is a particularly effective way of playing almost directly with the Parrot VM. To start playing with an interactive Parakeet interpreter, unzip the tarbal somewhere where parrot can find the 'parakeet.imc' file execute that file with the Parrot interpreter. -Michel -- Note: I use Active Spam Killer. That means the first time you send me an email, you will get a confirmation message that you must reply to in order for your mail to be delivered to me. http://www.paganini.net/ask/
parakeet0-3.tgz
Description: application/compressed-tar