aboutsummaryrefslogtreecommitdiff
path: root/cli/cmd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add validation of lexical specs and improve error messagesRyo Nihei2021-04-172-33/+52
|
* Change the lexical specs of regexp and define concrete syntax error valuesRyo Nihei2021-04-171-3/+14
| | | | | * Make the lexer treat ']' as an ordinary character in default mode * Define values of the syntax error type that represents error information concretely
* Add logging to compile commandRyo Nihei2021-04-081-2/+25
| | | | | compile command writes logs out to the maleeni-compile.log file. When you use compiler.Compile(), you can choose whether the lexer writes logs or not.
* Print the result of the lex command in JSON formatRyo Nihei2021-04-061-6/+5
| | | | | * Print the result of the lex command in JSON format. * Print the EOF token.
* Add logging to lex commandRyo Nihei2021-02-161-2/+26
| | | | | lex command writes logs out to the maleeni-lex.log file. When you generate a lexer using driver.NewLexer(), you can choose whether the lexer writes logs or not.
* Add CLIRyo Nihei2021-02-163-0/+131