-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added since labelling, and added _unsafe_ ErrorLabel API, as well as label method and deprecated old label function * Switched over to the unsafe API for the non-terminals in token and character * Added error instruction, and introduced new state into the machine * Removed bad test * Made some significant progress, I think anyway * Added assertions to ensure stack validity, also token instrs don't push errors, giving NPEs * Correctly ensured the consistency of the error stacks * Fixed bug with expected messages from JumpTable * Made string errors better * I hate 2.12.13 honestly, when can I stop supporting it... * Added in hints mechanism, the iterative combinators need to interact with it, and we need to thoroughly test everything * Fixed up a few more things * Fixed hinting so that ors and jumptables cannot feel their inbound hints until the end stage: this corrects label application to those hints * The lookahead combinators no longer produce hints, but they can consume them * Switched over to new mechanism fully, and ignored some of the tests for the time being (they aren't accurate at the moment, but are passing fine) * Temporarily enabled release on this branch, to get a snapshot published for testing * explicit type signature for 0.27 * changed a max into a min... oops! * Added a notch before the caret, hopefully making it easier to see * Off by one on the newline finding * Fixed bugs in labelling mechanism, as well as some bugs in the hinting * Ensured that unexpected prompts don't cross over a newline * Sorted alternatives in lexographical order, not that it really changes anything... * Fixed sorting, and ensured they are done in reverse order * Removed indent in error lines
- Loading branch information
Showing
40 changed files
with
911 additions
and
350 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
push: | ||
branches: | ||
- master | ||
- error-rework | ||
tags: | ||
- '*' | ||
workflow_dispatch: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.