aboutsummaryrefslogtreecommitdiff
path: root/cli (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change package structureRyo Nihei2021-05-084-287/+0
| | | | The executable can be installed using `go install ./cmd/maleeni`.
* Add --break-on-error option to lex commandRyo Nihei2021-05-081-3/+8
| | | | As you use --break-on-error option, break lexical analysis with exit status 1 immediately when an error token appears.
* Add CLI optionsRyo Nihei2021-05-082-38/+99
|
* 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-164-0/+145