Skip to content

Command line

Command What it does
aleph check FILE [--json] lex, parse, canonical form, types, capabilities, then run the examples
aleph fmt FILE [-w] print the canonical form (-w writes it in place)
aleph test FILE [--json] run the examples only
aleph run FILE [ARGS..] run with the interpreter
aleph build FILE -o OUT compile to a native binary through C and the system C compiler
aleph explain FILE [--json] capabilities, signatures, docs, examples and call graph
aleph ast FILE the AST as JSON, with node ids
aleph llms print the language card for agents (llms.txt)
aleph tokens FILE token counts per tokenizer (v0.2)
Code Meaning
0 ok
1 diagnostics with errors, or the program returned err
2 usage error
70 runtime trap