oxilean-cli-0.1.0 is not a library.
oxilean-cli
Command-line interface for the OxiLean theorem prover
The CLI provides the user-facing entry point for checking proofs, running the REPL, and managing OxiLean projects.
64,163 SLOC -- fully implemented CLI with argument parsing, subcommand dispatch, file checking, and interactive REPL.
Usage
# Show version
# Show help
# Check a file
# Start interactive REPL
Commands
| Command | Status | Description |
|---|---|---|
check <file> |
Implemented | Type-check an .oxilean source file |
repl |
Implemented | Interactive proof REPL |
--version / -v |
Implemented | Print version information |
--help / -h |
Implemented | Print usage information |
Architecture
CLI Argument Parsing
|
+-- "check" <file>
| |
| +-- Read file
| +-- Lex -> Token stream (oxilean-parse)
| +-- Parse -> Surface AST (oxilean-parse)
| +-- Elaborate -> Kernel Exprs (oxilean-elab)
| +-- Type-check via Kernel (oxilean-kernel)
| +-- Report success / errors
|
+-- "repl"
| |
| +-- Interactive loop:
| +-- Read input
| +-- Parse + Elaborate
| +-- Display goals / results
| +-- Accept tactic commands
|
+-- "--version"
| +-- Print version string
|
+-- "--help"
+-- Print usage information
Dependencies
oxilean-kernel-- core type checkingoxilean-parse-- lexing and parsingoxilean-elab-- elaboration and tactics
Building
# Build the CLI binary
# Build in release mode
# Run directly
Testing
License
Copyright COOLJAPAN OU (Team Kitasan). Apache-2.0 -- See LICENSE for details.