Skip to content

i-e-b/Phantom2

Repository files navigation

Phantom 2 is a lexer-less parser for C#

TODO
====
 - Roll in a full set of unit tests
 - Proper AST output (including failures -- give furthest AST)

 - Provide a good normal fluent interface as well as BNFish one
 - Binary and uniary parsers that can have associativiy and priority
 - Grouping parser that applies a shunting-yard infix-to-(?post/pre)fix manipulation
     * Then associativity & precedence to rearrange AST.
 
Demos
=====
 - Finish Pascal parser, make a simple interpreter
 - XML parser
 - JSON parser

See also https://gist.github.com/3904903

About

[In Progress] Lexer-less LALR parser in C# with an odd semi-fluent interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages