On 25 Sep 2006, at 11:20, Ola Bini wrote:
> Zed A. Shaw wrote:
>> On Mon, 25 Sep 2006 18:27:42 +0900
>> "Giles Bowkett" <gilesb / gmail.com> wrote:
>>> I've read Charles' posts many times. The JRuby project is pretty  
>>> cool.
>>> Wish I had the chops to put something like that together. Congrats.
>>>
>> Oh yeah, for sureness JRuby is very cool.  If you actually are  
>> interested in learning how to do this then check out:
>> http://www.amazon.com/Building-Parsers-Java-Steven-Metsker/dp/ 
>> 0201719622/sr=8-17/qid=1159177289/ref=sr_1_17/102-2347842-4438503
>> and
>> http://www.amazon.com/Programming-Language-Processors-Java- 
>> Interpreters/dp/0130257869/ref=pd_bxgy_b_text_b/ 
>> 102-2347842-4438503?ie=UTF8
>> Both are very soft introductions to making full parsers and  
>> languages to run on the JVM.
>
> I don't agree about those books, actually. I didn't like them and I  
> don't think you'll learn that much from them. My recommendation is  
> the Dragon book. (Compilers - Principles, Techniques and Tools)

Another very good book on interpreters is http://www.amazon.com/ 
Programming-Languages-Interpreter-based-Samuel-Kamin/dp/0201068249/ 
ref=sr_11_1/026-5047787-0958832?ie=UTF8 although the examples are all  
written in pascal...

Ellie


Eleanor McHugh
Games With Brains
----
raise ArgumentError unless @reality.responds_to? :reason