From: Rick DeNatale Date: 2007-07-21T03:02:36+09:00 Subject: Re: OT: help with business natural language On 7/20/07, John Mettraux wrote: > On 7/20/07, snacktime wrote: > > So today I finally had the time to sit down with racc and work on a > > natural language for defining recurring billing cycles. > Hi Chris, > > Sorry not to be helpful at all with the "racc" issue. > > Your current challenge has a business rule / process taste. You could > have different rulesets or processes for each business case. > There are some of those tools written in Ruby. > > > Or you could take inspiration in Rake which defines compilation rules, > and taking a similar approach, define an engine for interpreting > billing rules defined in Ruby (directly). > Let the Ruby interpreter do the grunt work and focus on providing an > abstraction level, in Ruby, for your billing issues. http://www.infoq.com/presentations/agile-dsl-development-in-ruby has some good stuff on doing just this. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/