patrickhuber / Pliant

MIT License
26 stars 4 forks source link

adds error handling #109

Closed patrickhuber closed 2 years ago

patrickhuber commented 2 years ago

Error Handling and Recovery

The ParseRunner has a parameter for EnableErrorRecovery. This parameter controls error recovery in the parser and runner.

There are two types of tokens:

  1. Missing Token - a token that is missing is injected into the parse to allow the parse to continue. For example, if you forget to close an HTML tag, that token would be a missing token.
  2. Skip Token - a skip token is a token that is encountered in the parse, but there is no parse rule to handle the token.

Updates build to use git tags for versioning

Using git tags to control version numbers instead of using a versions.txt file

git tag v1.0.0
git push origin v1.0.0
patrickhuber commented 1 year ago

fixes #42