> Currently, as far as I know, there are only two lexers and two parsers for > D: the C++ front end which dmd, gdc, and ldc use and the D front end which > ddmd uses and which is based on the C++ front end. Both of those are under > the GPL (which makes them useless for a lot of stuff) and both of them are > tied to compilers. Being able to lex D code and get the list of tokens in > a D program and being able to parse D code and get the resultant abstract > syntax tree would be very useful for a number of programs. There is a third one: http://code.google.com/p/dil/. The main page says that the lexer and the parser are fully implemented for both D1 and D2. But the license is also the GPL.
- Re: Want to help DMD bugfixing... Jonathan M Davis
- Re: Want to help DMD bugfixing... Andrej Mitrovic
- Re: Want to help DMD bugfixing... Jonathan M Davis
- Re: Want to help DMD bugfixing... Andrej Mitrovic
- Re: Want to help DMD bugfixing... Andrej Mitrovic
- Re: Want to help DMD bugfixing... Jonathan M Davis
- Re: Want to help DMD bugfixing... Nick Sabalausky
- Re: Want to help DMD bugfixing... Regan Heath
- Re: Want to help DMD bugfixing... Kai Meyer
- Re: Want to help DMD bugfixing... Jonathan M Davis
- Re: Want to help DMD bugfixing... Alexey Prokhin
- Re: Want to help DMD bugfixing... spir
- Re: Want to help DMD bugfixing... Nick Sabalausky
- Re: Want to help DMD bugfixing... Nick Sabalausky
- Re: Want to help DMD bugfixing... Regan Heath
- Re: Want to help DMD bugfixing... spir
- Re: Want to help DMD bugfixing... Don
- Re: Want to help DMD bugfixing... Nick Sabalausky
- Re: Want to help DMD bugfixing? Write a simple util... Michel Fortin
- Re: Want to help DMD bugfixing? Write a simple utility. Tyro[a.c.edwards]
- Re: Want to help DMD bugfixing? Write a simple util... Tyro[a.c.edwards]