Tooling
Tolvex's current compiler/CLI tool is tlvxc.
Building
From the repository root:
Quick check
Typecheck a file and print diagnostics:
JSON output
Emit machine-readable diagnostics and type information:
You can also provide function type metadata via --types-json:
REPL
Interactive parsing/typechecking feedback:
Docs generator
Generate Markdown documentation from /// / //! doc comments:
Package manifest (experimental)
Initialize a minimal tolvex.toml manifest:
List manifest contents:
LLVM backend (optional)
Some targets and --emit/--out flags are available only when building with the llvm-backend feature (requires system LLVM 15.x).