[Top][All Lists]
[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
lex.rb
Description: Text document
testLex.rb
Description: Text document
- [Cardinal-dev] existing parrot compilers,
Pat Eyler <=