aboutsummaryrefslogtreecommitdiff
path: root/cli/cmd/lex.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change package structureRyo Nihei2021-05-081-130/+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-081-17/+49
|
* Add validation of lexical specs and improve error messagesRyo Nihei2021-04-171-19/+24
|
* 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-161-0/+65