aboutsummaryrefslogtreecommitdiff
path: root/spec (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Print expected terminals on a parse errorRyo Nihei2021-08-021-0/+2
|
* Use maleeni v0.3.0Ryo Nihei2021-08-012-3/+3
|
* Add a token position and detailed info to a lexical error messageRyo Nihei2021-07-283-7/+21
|
* Count the number of each line in consecutive linesRyo Nihei2021-07-283-2/+54
|
* Add literal pattern syntax and change tree structure syntaxRyo Nihei2021-07-226-15/+47
| | | | | | - 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 semantic errors in a single parseRyo Nihei2021-07-183-18/+18
|
* Add token positions to an ASTRyo Nihei2021-07-183-29/+238
|
* RefactorRyo Nihei2021-07-182-6/+31
|
* Detect multiple syntax errors in a single parseRyo Nihei2021-07-173-23/+95
|
* Add a line number to token error messagesRyo Nihei2021-07-172-6/+31
|
* Add a line number to error messagesRyo Nihei2021-07-165-74/+122
|
* Allow directives to take multiple parametersRyo Nihei2021-07-022-21/+41
|
* Prohibit defining identifiers beginning with an underscoreRyo Nihei2021-07-023-1/+10
| | | | Identifiers beginning with an underscore are used as auto-generated identifiers.
* Simplify syntax of modifiers and semantic actionsRyo Nihei2021-06-307-236/+291
| | | | Modifiers and semantic actions are represented by directives following the '#' symbol.
* Add ast actionRyo Nihei2021-06-288-37/+277
|
* Add syntax of fragmentRyo Nihei2021-06-207-19/+109
|
* Add skip actionRyo Nihei2021-06-201-0/+1
|
* Add syntax of modifiers and actionsRyo Nihei2021-06-207-6/+191
| | | | | Currently, a mode modifier and push/pop actions are available. The modifier and the actions make sense in only lexical specifications.
* Add syntax of commentsRyo Nihei2021-06-204-1/+22
|
* Add driverRyo Nihei2021-06-191-0/+33
|
* Add production syntaxRyo Nihei2021-06-157-24/+85
|
* Add spec parserRyo Nihei2021-06-157-0/+644
Currently, the parser only supports definitions of lexical specification.