Implement Parse implementation like in Red
Suliman via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 30 01:22:45 PDT 2015
On Thursday, 30 July 2015 at 08:14:44 UTC, tcak wrote:
> On Thursday, 30 July 2015 at 08:04:37 UTC, Suliman wrote:
>> Red have very nice future called Parse
>> http://www.red-lang.org/2013/11/041-introducing-parse.html
>>
>> Is it's possible to implement something like it in D/Phobos?
>
> I already have implemented a similar thing to it. A little more
> complex, but works. For every matching part, or combination of
> them, another class instance is defined. So, yes, in the end,
> it is possible.
Could you share it?
More information about the Digitalmars-d
mailing list