More articles tagged 'compiler-in-Ruby-bottom-up'

2008-04-06
Writing a compiler in Ruby bottom up - step 3

Chaining expressions with "do"

So far, the second version from last time can execute one single expression, and that's it. Not very useful. So I need to add a way to chain expressions like in the body of a function.

2008-04-05
Writing a compiler in Ruby bottom up - step 2/??

My choice of Ruby as my implementation language was pretty arbitrary. The choice doesn't matter all that much at this stage, but I really like Ruby.

At some point, however, there will be a series of steps to bring the language and the compiler closer together. What I mean by that ...

2008-03-27
Writing a compiler in Ruby bottom up - step 1/??

I've just posted the second part of this series. See part 2

I've been sitting on this for a long time - the oldest entries in the series I'm about to start posting is stuff I started writing back in early 2005 before I even started version 1 of ...