Difference between revisions of "Lexers Parsers"
(Links for different D parsers and lexers.) |
(No difference)
|
Revision as of 20:35, 16 January 2013
Here are a few lexers and parsers for the D programming languages, all written in D:
Contents
Standalone Lexers
Standalone Parsers
Parser Generators
- Hisayuki Mima's CTPG is a compile-time parser generator.
- Nick Sabalausky's Goldie.
- Pegged, a parsing expression grammar (PEG) generator by Philippe Sigaud. Parses at runtime and compile-time.
Parsers and Lexers Inside Compilers
- SDC, the Stupid D Compiler also have a lexer and a parser and code for abstract syntax trees.
- Aziz Koeksal's DIL, another D compiler based on Tango. You can find the lexer in src/dil/lexer, the parser in src/dil/parser and the abstract syntax tree code in src/dil/ast.