CLI

Source

Command

The egon command can lex, parse, and verify Egon code. If working from the repo then just cli can be used.

Lexing

Returns a list of tokens from Egon code.

egon lex ./path/to/file.eg

Parsing

Returns an AST from Egon code.

egon parse ./path/to/file.eg

Verify

Analyze Egon code and return any errors.

egon verify ./path/to/file.eg