cardinal-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cardinal-dev] existing parrot compilers


From: Pat Eyler
Subject: [Cardinal-dev] existing parrot compilers
Date: Thu, 9 May 2002 13:12:07 -0400 (EDT)

i'm trying to learn more about compiler writing by looking at the scheme
and mini-perl compilers in the languages sub-dir of parrot.  Are these
good approaches?  Or is there another example to look at (I'm also looking
at flim, a small front-end to gcc)?

Given the approaches in scheme and mini-perl, I've started writing a
simple lexer in ruby.  I've attached it (with a test suite) to this email.
I'd love to hear any ciritcism/suggestions.  If it's worth using for
anything, or expanding into something useful, please feel free to do so.

happy hacking,
-pate

Attachment: lex.rb
Description: Text document

Attachment: testLex.rb
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]