aboutsummaryrefslogtreecommitdiff
path: root/spec/lexspec.json (follow)
Commit message (Expand)AuthorAgeFilesLines
* Use IDs and labels as parameters of an #ast directive instead of symbol posit...Ryo Nihei2022-03-291-4/+0
* Add label notationRyo Nihei2022-03-291-0/+4
* 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-8/+0
* Generate the lexer source codeRyo Nihei2021-10-271-0/+1
* Support the escape sequecens \' and \\ in a string literalRyo Nihei2021-08-281-7/+29
* Support %left and %right to specify precedences and associativitiesRyo Nihei2021-08-221-0/+4
* Count the number of each line in consecutive linesRyo Nihei2021-07-281-1/+1
* 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-5/+9
* Simplify syntax of modifiers and semantic actions•••Modifiers and semantic actions are represented by directives following the '#' symbol. Ryo Nihei2021-06-301-6/+2
* Add ast actionRyo Nihei2021-06-281-0/+16
* Add syntax of fragmentRyo Nihei2021-06-201-0/+4
* 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/+8
* Add syntax of commentsRyo Nihei2021-06-201-0/+4
* Add production syntaxRyo Nihei2021-06-151-0/+4
* Add spec parser•••Currently, the parser only supports definitions of lexical specification. Ryo Nihei2021-06-151-0/+70