Thread overview | |||||
---|---|---|---|---|---|
|
November 26, 2013 D lexical analyzer? | ||||
---|---|---|---|---|
| ||||
For C genre we have Flex and Bison, what is the equivalent in D? |
November 26, 2013 Re: D lexical analyzer? | ||||
---|---|---|---|---|
| ||||
Posted in reply to seany | 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 |
November 27, 2013 Re: D lexical analyzer? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | 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/ |
Copyright © 1999-2021 by the D Language Foundation