Difference between revisions of "Lexers Parsers"

From D Wiki
Jump to: navigation, search
(Updated link to std.d.lexer)
Line 5: Line 5:
 
* [https://github.com/dawgfoto/lexer Martin Nowak's lexer]
 
* [https://github.com/dawgfoto/lexer Martin Nowak's lexer]
  
* [https://github.com/Hackerpilot/Dscanner/blob/master/stdx/d/lexer.d (Possibly) the future std.d.lexer]
+
* [https://github.com/Hackerpilot/libdparse/blob/master/src/std/d/lexer.d (Possibly) the future std.d.lexer]
  
 
== Standalone Parsers ==
 
== Standalone Parsers ==

Revision as of 11:48, 29 July 2014

Here are a few lexers and parsers for the D programming languages:

Standalone Lexers

Standalone Parsers

  • DTool/DDT parser . Part of the DTool project (which has semantic functionality as well). Written in Java and powers DDT. Fairly complete.


Parser Generators

  • Hisayuki Mima's CTPG is a compile-time parser generator.
  • 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