From: Mathieu Bouchard Date: 2005-04-15T01:14:55+09:00 Subject: Re: BNF-like grammar specified DIRECTLY in Ruby On Thu, 14 Apr 2005, Eric Mahurin wrote: > I hope I'm not intruding, but I think I found something you'll like. I > think I finally found the holy grail I was looking for in a language - > the ability to easily write a readable grammar (BNF-like) directly in > the target langauge. I attached a syntax.rb that defines all the > classes needed and generic expression evaluator example. The reasons I'm > sending this message to the core mailing list is that 1) I want feedback > on the API, 2) I think this should be considered for one of the built-in > classes (or at least in the standard library) because of its simplicity [...] > p.s. I just learned Ruby last week! I really love > this language! It's got the best of Perl, C++, Let me tell you just one thing: we need more people like you. ,-o---------o---------o---------o-. ,----. | | The Diagram is the Program (TM) | | ,-o----------------------------o-. `-o-----------------------------o-' | | Mathieu Bouchard | | |---' | http://artengine.ca/matju | | | `-o------------------------------'