aboutsummaryrefslogtreecommitdiff
path: root/spec/syntax_error.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add literal pattern syntax and change tree structure syntaxRyo Nihei2021-07-221-0/+1
| | | | | | - Literal patterns don't interpret the special characters of regular expressions. In other words, 'abc|def' matches only `abc|def`, not `abc` or `def`. - Change tree structure syntax from '(...) to #(...).
* Detect multiple syntax errors in a single parseRyo Nihei2021-07-171-1/+0
|
* Add a line number to error messagesRyo Nihei2021-07-161-3/+1
|
* Prohibit defining identifiers beginning with an underscoreRyo Nihei2021-07-021-1/+2
| | | | Identifiers beginning with an underscore are used as auto-generated identifiers.
* Simplify syntax of modifiers and semantic actionsRyo Nihei2021-06-301-2/+3
| | | | Modifiers and semantic actions are represented by directives following the '#' symbol.
* Add ast actionRyo Nihei2021-06-281-8/+11
|
* Add syntax of fragmentRyo Nihei2021-06-201-7/+8
|
* Add syntax of modifiers and actionsRyo Nihei2021-06-201-0/+2
| | | | | Currently, a mode modifier and push/pop actions are available. The modifier and the actions make sense in only lexical specifications.
* Add production syntaxRyo Nihei2021-06-151-1/+0
|
* Add spec parserRyo Nihei2021-06-151-0/+32
Currently, the parser only supports definitions of lexical specification.