YAPB-0.2.0
What's new
- As a tutorial, the most up-to-date examples are available in app/{parser,ambiguous,error,syntaxcompletion}
- Threaded lexers are supported, so a lexer and a parser can talk back and forth through a monad about parsing states. (See an example in app/parser)
- Precedences can be specified in the parser specifications to disambiguate ambiguous grammars (See Sec 4.9.2 in the Dragon book 3rd Ed. and an example in app/ambiguous)
- Error recovery is supported (See Sec.4.9.4 in the Dragon book 3rd Ed. and an example in app/error)
- The syntax completion algorithms are configurable and become stable. (See app/syntaxcompletion)
- Now the real-world parser examples for two programming languages Small Basic and C11 are available separately (see https://github.com/kwanghoon/{sbparser,c11parser}).
- Another example for Haskell is available separately where the GHC lexer and the automaton generated from GHC Happy based parser are incorporated with our automaton engine to be a Haskell parser. (see https://github.com/kwanghoon/hslexer).