parser generator in d
Don
nospam at nospam.com.au
Thu Jul 3 02:39:51 PDT 2008
sambeau wrote:
> llee Wrote:
>
>> Does any one know of any parser generators for D? I'm linking against c files generated using bison, and while this works, It would be better if D had support for complex parsing tasks.
>
> I'm a bit surprised that no-one has mentioned that the (kinda) new industry standard hasn't been mentioned here..
>
> Ragel:
> http://research.cs.queensu.ca/~thurston/ragel/
>
> it generates C, C++, Objective-C, ****D****, Java or Ruby code with no dependencies.
>
> And a) generates very fast code, and b) is (frankly) very cool.
That is very cool. Deserves a link on the D website, I reckon. The
number of quality tools with native support for D is quite limited, and
we should promote them as much as possible.
More information about the Digitalmars-d
mailing list