REPL Guide
Start the REPL by running kira with no arguments:
kiraREPL Commands
| Command | Description |
|---|---|
:help | Show help message |
:type <expr> | Show the type of an expression |
:load <file> | Load a .ki file |
:quit | Exit the REPL |
Usage Examples
> let x: i32 = 42
> :type x
i32
> let y: i32 = x + 8
> :type y
i32Tips
- The REPL is ideal for experimenting with expressions and small functions
- Use
:typeto inspect types without running code - Use
:loadto bring in functions from files and then call them interactively