aboutsummaryrefslogtreecommitdiff
path: root/spec/syntax_error.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* Make the identifier format strictRyo Nihei2022-05-101-6/+9
* Add ordered symbol notationRyo Nihei2022-05-101-0/+1
* Change syntax for top-level directives•••%name changes to: #name example; %left and %right change to: #prec ( #left a b #right c d ); Ryo Nihei2022-05-101-10/+11
* Add tests for compilerRyo Nihei2022-04-151-0/+1
* Change syntax of production directives•••The position of directives given to productions has moved from before a left-hand side value to after a left-hand side value. This change aims to simplify the syntax. However, there is no change in positions of directives given to alternatives. Ryo Nihei2022-03-291-1/+0
* Use IDs and labels as parameters of an #ast directive instead of symbol posit...Ryo Nihei2022-03-291-1/+0
* Add label notationRyo Nihei2022-03-291-0/+2
* Simplify the syntax of #ast directive•••This change allows using the simple syntax of the directive like `#ast $1 $3...` instead of `#ast #(foo $1 $3...)`. Ryo Nihei2022-03-281-10/+8
* Follow golangci-lintRyo Nihei2022-03-281-1/+0
* Support the escape sequecens \' and \\ in a string literalRyo Nihei2021-08-281-0/+2
* Add literal pattern syntax and change tree structure syntax•••- 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 #(...). Ryo Nihei2021-07-221-0/+1
* 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 underscore•••Identifiers beginning with an underscore are used as auto-generated identifiers. Ryo Nihei2021-07-021-1/+2
* Simplify syntax of modifiers and semantic actions•••Modifiers and semantic actions are represented by directives following the '#' symbol. Ryo Nihei2021-06-301-2/+3
* Add ast actionRyo Nihei2021-06-281-8/+11
* Add syntax of fragmentRyo Nihei2021-06-201-7/+8
* Add syntax of modifiers and actions•••Currently, a mode modifier and push/pop actions are available. The modifier and the actions make sense in only lexical specifications. Ryo Nihei2021-06-201-0/+2
* Add production syntaxRyo Nihei2021-06-151-1/+0
* Add spec parser•••Currently, the parser only supports definitions of lexical specification. Ryo Nihei2021-06-151-0/+32