Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

Releases: christophevg/human-parser-generator

The More Human than Human Parser

06 Mar 23:43
Compare
Choose a tag to compare

With this release, HPG becomes more human in various ways:

  • Error reporting now includes more and correct contextual information
  • AST and Parser Models have a new implementation for ToString, producing C# code to reproduce them
  • The parser itself is constructed using an inner parsing DSL

Various bugs were squashed, of which the most important:

  • Changed precedence of sequences and alternatives

New features include:

  • Support for detecting and applying List pattern
  • Alternative syntax constructions to support more EBNF and BNF better
  • Support for MSBuild and building on Windows
  • New examples: DB2 DDL and Mini Java
  • More documentation on the wiki, including annotated examples and tutorial

And many, many other small fixes and improvements...
Enjoy!

Pre-release, supporting WIP Tutorial

21 Feb 20:33
Compare
Choose a tag to compare
Pre-release

Version 1.1 of the HPG will introduce significant improvements over the first release with respect to the emitted code, error reporting and supported grammar structures. With this release a tutorial will be provided, showing how to go from a verbatim grammar, found on the internet, to an optimised grammar for HPG.

This pre-release offers a downloadable binary of the current HPG, which allows for reproducing the steps in the tutorial.