Skip to content

Releases: kwanghoon/yapb

YAPB-0.2.7

25 Dec 11:34
Compare
Choose a tag to compare
  • revising printing production rules in the debug mode during parsing.

YAPB-0.2.6

17 Apr 01:56
Compare
Choose a tag to compare
  • adding a header for candidates

YAPB-0.2.5

16 Apr 09:19
Compare
Choose a tag to compare
  • 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

15 Apr 07:14
Compare
Choose a tag to compare
  • 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

04 Apr 06:59
Compare
Choose a tag to compare

Measure execution time

YAPB-0.2.2

04 Apr 01:50
Compare
Choose a tag to compare

Fix a bug on handling terminals mixed with alphabets and symbols such as zero?.

YAPB-0.2.1

27 Mar 12:57
Compare
Choose a tag to compare
  • fix the bugs on as-patterns around spaces (to be accepted by ghc-9.x.x)

YAPB-0.2.0

27 Mar 06:39
Compare
Choose a tag to compare

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

27 Oct 09:33
Compare
Choose a tag to compare
  • 'stack test' is supported
  • suppress unnecessary internal prints

YAPB-0.1.3.1

30 Sep 16:09
Compare
Choose a tag to compare