From: Friedrich Dominicus Date: 2005-06-14T14:45:31+09:00 Subject: Re: embedding a language into Ruby Joel VanderWerf writes: > 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 %{ }. Well I would like to not start all the machinery but use mostly Ruby, with some extensions. But if that turned out to be not "good enough", I have to consider the larger possibilities. Regards Friedrich -- Please remove just-for-news- to reply via e-mail.