Rex CLI (rex)
This crate provides the rex command-line interface.
It is a thin wrapper around the core pipeline:
rexlang-lexer → rexlang-parser → rexlang-typesystem → rexlang-engine
Usage
Run a .rex file:
Run inline code:
Inspect compiler output:
--emit-ast: print the parsed AST as JSON and exit--emit-type(alias:--type): print the inferred type as JSON and exit
REPL