From: Joel VanderWerf Date: 2005-06-14T02:00:51+09:00 Subject: Re: embedding a language into Ruby Friedrich Dominicus wrote: > Well I hope the question is clear. Let us assume one want to develop a > new language but use the existing Ruby infractructure. Do you know > anyone having worked in that area? Do you know an example of such a > use of Ruby? There have got to be lots of examples. My own project, redshift, is an embedded language for specifying the behavior of hybrid automata (discrete transitions plus differential equations). There are a number of tricks you can play with blocks, instance_eval, and class methods to make your syntax look nice. Sometimes you have to resort to strings, but even then you can make them look nice with %{ }.