aboutsummaryrefslogtreecommitdiff
path: root/cli/cmd (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-05-08Change package structureRyo Nihei3-273/+0
The executable can be installed using `go install ./cmd/maleeni`.
2021-05-08Add --break-on-error option to lex commandRyo Nihei1-3/+8
As you use --break-on-error option, break lexical analysis with exit status 1 immediately when an error token appears.
2021-05-08Add CLI optionsRyo Nihei2-38/+99
2021-04-17Add validation of lexical specs and improve error messagesRyo Nihei2-33/+52
2021-04-17Change the lexical specs of regexp and define concrete syntax error valuesRyo Nihei1-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
2021-04-08Add logging to compile commandRyo Nihei1-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.
2021-04-06Print the result of the lex command in JSON formatRyo Nihei1-6/+5
* Print the result of the lex command in JSON format. * Print the EOF token.
2021-02-16Add logging to lex commandRyo Nihei1-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.
2021-02-16Add CLIRyo Nihei3-0/+131