William Rutiser
12/14/2008 8:47:00 PM
Rafael Rosa wrote:
> Jen and Martin,
>
> Thanks to both of you, these links are very useful indeed. I'll dig into
> them as soon as finish a paper I'm working on. The compiler building is
> very very interesting, and it's seems to be quite accessible too. If
> everything goes as I expect I'll publish my learning notes somewhere,
> and I'll let you know.
>
> Thanks a lot,
> Rafael.
>
Topher Cyil's book, "Practical Ruby Projects", has a chapter on parsing
in Ruby.
You may wish to consider implementing a simple interpreter before a
compiler. This would let you see something happening sooner. The parsing
part could be common to both. Some compilers for some languages rely
heavily on an interpreter disguised as a run-time library.
Have fun,
Bill