Why Ruby?

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Dec 16 09:19:20 PST 2010


On 12/16/10, Stephan Soller <stephan.soller at helionweb.de> wrote:
> snip

The cool thing about D is that with a little bit of string magic you
can make your own DSL's. Here's a rather hardcoded and superficial
example, but for this simple case it works:

http://pastebin.com/Xkghv1ky

Of course you'd need to build your own little DSL string parsing
functions and use regex instead of hardcoding it like that. But all
kinds of syntaxes are possible.


More information about the Digitalmars-d mailing list