develooper Front page | perl.perl6.internals | Postings from December 2002

[perl #19610] [PATCH] New language support: Ook!

Thread Next
From:
Jerome Quelin
Date:
December 30, 2002 15:09
Subject:
[perl #19610] [PATCH] New language support: Ook!
Message ID:
rt-19610-46602.16.0961486583524@bugs6.perl.org
# New Ticket Created by  Jerome Quelin 
# Please include the string:  [perl #19610]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=19610 >


Thanks to our dear summarizer, I'm now known (from a googlism point of 
view) as 'one of the "let's implement a bunch of languages on parrot" 
crew'. So, in order to prove him right definitely (and also because 
orang-utans should also benefit from Parrot's speed), here's a new 
language supported by Parrot: the Ook! language.

For the unlucky who don't know it, Ook! is essentially isomorphic to the 
well-known brainfsck language. 
Refer to http://www.dangermouse.net/esoteric/ook.html for more details.

Ok, about this implementation:
 - this is a compiler (and not an interpreter) that spits Parrot 
assembly code (yes, I'm targeting Parrot).
 - it implements every Ook! instruction but the "Ook. Ook!" one. I'll 
work on it later.
 - currently I'm just printing on stdout the resulting parrot code, I 
lack an eval instruction in Parrot. Dan, Leo? :-)

Disclaimer: it's all of Nicholas Clark's fault. Really. He's the one to 
take the blame for it.

Jerome
-- 
jquelin@mongueurs.net


-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/46602/36599/6c9317/ook_first_draft.patch



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About