aboutsummaryrefslogtreecommitdiff
path: root/grammar/semantic_error.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Namespace packages with "urubu/"EuAndreh2024-12-101-30/+0
|
* Import source code of lexer generatorRyo Nihei2022-11-101-37/+25
| | | | From: https://github.com/nihei9/maleeni
* Add spelling inconsistencies checkRyo Nihei2022-05-101-23/+24
|
* Add ordered symbol notationRyo Nihei2022-05-101-0/+1
|
* Change syntax for top-level directivesRyo Nihei2022-05-101-3/+1
| | | | | | | | | | | | | %name changes to: #name example; %left and %right change to: #prec ( #left a b #right c d );
* Make #prec directive change only precedence and not associativityRyo Nihei2022-05-101-0/+1
|
* Prohibit ambiguous symbol in an #ast directiveRyo Nihei2022-04-161-0/+1
|
* Prohibit using the same element multiple times in the #ast directiveRyo Nihei2022-04-161-0/+1
|
* Prohibit specifying associativity and precedence multiple times for a symbolRyo Nihei2022-04-161-0/+1
|
* Add tests for compilerRyo Nihei2022-04-151-0/+1
|
* Allow an alternative to have multiple directivesRyo Nihei2022-03-301-0/+1
|
* Move directives given to lexical productionsRyo Nihei2022-03-291-0/+2
| | | | | Move all directives given to lexical productions from alternative directives to production directives. This change aims to ensure consistency with respect to the syntax of definitions of terminal symbols and non-terminal symbols.
* Add label notationRyo Nihei2022-03-291-0/+2
|
* Add name directive to specify a grammar nameRyo Nihei2021-10-281-0/+1
|
* Add error symbol and #recover directive to recover from an error stateRyo Nihei2021-08-261-0/+1
|
* Support %left and %right to specify precedences and associativitiesRyo Nihei2021-08-221-0/+2
|
* Detect duplicate names between terminals and non-terminalsRyo Nihei2021-07-311-1/+2
|
* Prevent terminals used in productions from being skippedRyo Nihei2021-07-311-0/+1
| | | | A terminal symbol used in productions cannot have the skip directive.
* Detect unused-symbol errorRyo Nihei2021-07-301-0/+2
| | | | When there are productions and terminals that are cannot be reached from the start symbol, the compiler reports an error.
* Detect duplicate production errorsRyo Nihei2021-07-281-5/+6
|
* Detect duplicate definitions of terminal symbols and fragments in advanceRyo Nihei2021-07-191-0/+1
|
* Detect multiple semantic errors in a single parseRyo Nihei2021-07-181-0/+22