digitalmars.D.learn - D lexical analyzer?
- seany (1/1) Nov 26 2013 For C genre we have Flex and Bison, what is the equivalent in D?
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (4/5) Nov 26 2013 There is pegged:
- Philippe Sigaud (8/8) Nov 26 2013 There is also Nick's Goldie:
For C genre we have Flex and Bison, what is the equivalent in D?
Nov 26 2013
On 11/26/2013 01:16 PM, seany wrote:For C genre we have Flex and Bison, what is the equivalent in D?There is pegged: https://github.com/PhilippeSigaud/Pegged Ali
Nov 26 2013
There is also Nick's Goldie: http://www.semitwist.com/goldie/ Also, std.lexer was recent reviewed, with some things to change. I hope its author will present it again soon. There are many D parsers/lexers there, but they are specifically designed to lex and parse D. Also, Ragel can generate D source code: http://www.complang.org/ragel/
Nov 26 2013