Expand description
Vernacular interface for the Kernel.
Provides a text-based command interface for interacting with the kernel:
Definition name : type := term.- Add a definitionCheck term.- Print the type of a termEval term.- Normalize and print a termInductive Name := C1 : T1 | C2 : T2.- Define an inductive type
§Literate Syntax (English-like alternative)
A Bool is either Yes or No.- Define an inductive type## To add (n: Nat) and (m: Nat) -> Nat:- Define a functionConsider x: When Zero: Yield m.- Pattern matching
Modules§
- literate_
parser - Literate Specification Parser for the Kernel.
Structs§
- Repl
- The Vernacular REPL.
- Term
Parser - Recursive descent parser for Term syntax.
Enums§
- Command
- A command in the Vernacular language.
- Interface
Error - Errors that can occur in the interface layer.
- Parse
Error - Parse errors for the Vernacular.
Functions§
- parse_
command - Parse a command from input string.