aboutsummaryrefslogtreecommitdiff
path: root/spec/vartan_lexer.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename spec package to spec/grammar packageRyo Nihei2022-05-271-1339/+0
|
* Prohibit using escape sequences in string literalsRyo Nihei2022-05-151-49/+24
|
* Make the identifier format strictRyo Nihei2022-05-101-2/+2
|
* Add ordered symbol notationRyo Nihei2022-05-101-52/+58
|
* Change syntax for top-level directivesRyo Nihei2022-05-101-19/+25
| | | | | | | | | | | | | %name changes to: #name example; %left and %right change to: #prec ( #left a b #right c d );
* Use IDs and labels as parameters of an #ast directive instead of symbol ↵Ryo Nihei2022-03-291-36/+28
| | | | positions
* Add label notationRyo Nihei2022-03-291-21/+27
|
* Simplify the syntax of #ast directiveRyo Nihei2022-03-281-43/+31
| | | | This change allows using the simple syntax of the directive like `#ast $1 $3...` instead of `#ast #(foo $1 $3...)`.
* Generate the lexer source codeRyo Nihei2021-10-271-0/+1366