parser generator in d

sambeau sambeau-nospam at mac.com
Wed Jul 2 17:09:17 PDT 2008


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.






More information about the Digitalmars-d mailing list