aboutsummaryrefslogtreecommitdiff
path: root/cmd/vartan/parse.go (unfollow)
Commit message (Expand)AuthorFilesLines
2021-07-17Improve syntax error messages•••- Add a source file name to error messages. - Add a line that an error occurred at to error messages. Ryo Nihei1-0/+18
2021-07-17Add a line number to token error messagesRyo Nihei2-6/+31
2021-07-16Add a line number to error messagesRyo Nihei6-74/+137
2021-07-15Add testing for the driver•••The driver can reduce productions that have the empty alternative and can generate a CST (and AST) node. Ryo Nihei2-0/+47
2021-07-02Allow directives to take multiple parametersRyo Nihei4-34/+56
2021-07-02Prettify treesRyo Nihei3-11/+33
2021-07-02Prohibit defining identifiers beginning with an underscore•••Identifiers beginning with an underscore are used as auto-generated identifiers. Ryo Nihei3-1/+10
2021-06-30Simplify syntax of modifiers and semantic actions•••Modifiers and semantic actions are represented by directives following the '#' symbol. Ryo Nihei9-274/+329
2021-06-29Add testing for the driverRyo Nihei1-1/+114
2021-06-29Prioritize anonymous patterns over named patternsRyo Nihei1-1/+4
2021-06-28Add ast actionRyo Nihei12-84/+515
2021-06-20Add syntax of fragmentRyo Nihei9-19/+129
2021-06-20Add skip actionRyo Nihei4-16/+60
2021-06-20Add 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 Nihei9-30/+298
2021-06-20Add syntax of commentsRyo Nihei4-1/+22
2021-06-19Add CLIRyo Nihei6-1/+206
2021-06-19Add driverRyo Nihei4-0/+337
2021-06-18Add SLR parsing table generatorRyo Nihei10-0/+2201