From: Intransition Date: 2009-11-24T08:48:34+09:00 Subject: Re: ideas for a "parameter sweep" program? On Nov 23, 3:15 pm, Diego Virasoro wrote: > Hello, > I often need to run my computational experiments with a combination of > parameter values, and I was thinking of automatising it with Ruby. Any > idea on what would be the best way to go about it? > > What would be the advantage of trying something like a DSL? I've never > done it before so it looks a little bit daunting and it may be an > overkill, but then this is a personal project so I don't have > deadlines and I'd like to learn a bit in the process. > > Or maybe should I cook up something with Rake? Depends on what you want. If you just want to create an executable that can accept various options look at the built in OptionParser. http://ruby-doc.org/stdlib/libdoc/optparse/rdoc/classes/OptionParser.html