Of course I may have overreadi, but at least I can not remember having
read about ruby used in
- customized language development (e.g business logic)
- fuzzy logic
- "artifical" intelligence
I wonder if someone would like to share what he/she has done in those
areas.
What did you use to "customize" a specialiced language?
Regards
Friedrich
···
--
Please remove just-for-news- to reply via e-mail.
I wasn't one of them, but several of the members of the Universities
Ruby user group used Ruby in their Artificial Intelligence classes. I
think the key was using closures to simulate an 'entity' and then
allowing entities to interact...
I know they used it - I'm not sure how.
-Rich
···
On Fri, 17 Dec 2004 00:47:12 +0900, Friedrich Dominicus <just-for-news-frido@q-software-solutions.de> wrote:
Of course I may have overreadi, but at least I can not remember having
read about ruby used in
- customized language development (e.g business logic)
- fuzzy logic
- "artifical" intelligence
I wonder if someone would like to share what he/she has done in those
areas.
What did you use to "customize" a specialiced language?
Regards
Friedrich
--
Please remove just-for-news- to reply via e-mail.
I started a rubyforge (http://rubyforge.org/projects/rgenetic/\)
project implementing genetic algorithms
(http://en.wikipedia.org/wiki/Genetic_algorithm\) using Ruby. I
haven't worked on the project in the last year or so (getting married
and starting graduate school kept me pretty busy...), but since I just
got through my qualifying exam here in grad school I hope to have some
time to start up work on it again in the near future (as in after the
holidays).
Why am I using ruby for this? Essentially, I wanted to provide a
*very* user friendly genetic algorithm package. As the project stands
right now, all the user has to provide is a "properties" file, most of
which specifies mutations rates, population sizes and such. Right
now, the hardest thing for the end user to come up with is the
encoding and fitness evaluation of their genetic algorithm (which you
really can't get out of doing), all of which can be specified in the
properties file. Since I am using Ruby, I can easily dynamically load
this information or change it at run time. Heck, if I decide halfway
through a very long execution that I want to change my fitness
evaluation, I can!
Oh, and because Ruby is so darn easy to write and understand, I was
able to prototype the library fairly quickly and easily.
···
On Fri, 17 Dec 2004 03:02:13 +0900, Bil Kleb <Bil.Kleb@nasa.gov> wrote:
Friedrich Dominicus wrote:
> Of course I may have overreadi, but at least I can not remember having
> read about ruby used in
> - customized language development (e.g business logic)
Maybe we're not talking about the same thing, but I thought
Rich Kilmer gave a talk on this very subject at Ruby Conf '04.
We use Ruby in our project to create a domain specific language.