Difference between revisions of "Lexers Parsers"
m (→Standalone Parsers) |
m (Add dunnart to list of parser generators) |
||
Line 20: | Line 20: | ||
* [https://github.com/PhilippeSigaud/Pegged Pegged], a parsing expression grammar (PEG) generator by Philippe Sigaud. Parses at runtime and compile-time. | * [https://github.com/PhilippeSigaud/Pegged Pegged], a parsing expression grammar (PEG) generator by Philippe Sigaud. Parses at runtime and compile-time. | ||
+ | * [https://github.com/pwil3058/dunnart Dunnart], a parser generator with built in lexical analysis. | ||
== Parsers and Lexers Inside Compilers == | == Parsers and Lexers Inside Compilers == |
Revision as of 05:04, 24 May 2013
Here are a few lexers and parsers for the D programming languages, all written in D:
Contents
Standalone Lexers
Standalone Parsers
- Brian Schott Dscanner does D source code analysis and contains a lexer+parser.
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.
- Dunnart, a parser generator with built in lexical analysis.
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.