Writing a language parser in D

div0 div0 at users.sourceforge.net
Tue Sep 15 11:50:47 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Justin Johansson wrote:
>> I've ported boost::spirit to d. No idea if it does what you want,
>> but I've written some fairly complicated grammars with it.
>>
>> It's not a tool though, you just define your grammar directly in code.
>> Which is either a plus or a minus depending on your point of view.
> 
> Thanks for all replies, Ellery, div0, Bill et. al.
> 
> There's 101 odd productions in EBNF so whatever is the easiest to plug these directly into the tool or engine is probably the road of least resistance for this exercise.
> 
> <JJ/>
> 

Yar, that's a bit much for doing in spiritd.
Least ways not with out extra non existent plumbing.

- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKr+IHT9LetA9XoXwRAkECAKDL38p+IfBQpkqoXdM6vwRJya5uYACgg46l
7wqGhQEi/bhFoy9oZ7KNGKI=
=bcBy
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list