Releases: kwanghoon/yapb
Releases · kwanghoon/yapb
YAPB-0.2.7
YAPB-0.2.6
- adding a header for candidates
YAPB-0.2.5
- print parsing time as well as candidates computation time
: ParserSpec has been changed to include two new fields on the parsing time
: src/util/ParserTime.hs will be useful for filling the fields in.
YAPB-0.2.4
- Search syntax completion candidates with only the filtered symbols (ParserSpec has a new field for this purpose)
- A new interface to write yapb.config useful for testing
- update README
YAPB-0.2.3
Measure execution time
YAPB-0.2.2
Fix a bug on handling terminals mixed with alphabets and symbols such as zero?.
YAPB-0.2.1
- fix the bugs on as-patterns around spaces (to be accepted by ghc-9.x.x)
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).
YAPB-0.1.3.2
- 'stack test' is supported
- suppress unnecessary internal prints
YAPB-0.1.3.1
- Refactoring the internals
- Several Haskell parsing specific APIs dealing with layout rules