REPL

Run hlvm with no command to start the interactive shell.

hlvm

The REPL routes input by shape:

InputRoute
(expression)HQL evaluation
(js "code")JavaScript evaluation
/commandREPL command
Anything elseAI conversation

HQL Evaluation

hlvm> (+ 1 2)
3
hlvm> (map inc [1 2 3])
(2 3 4)

AI Conversation

hlvm> explain this directory structure

The REPL keeps conversation context. Use hlvm ask --stateless for isolated one-shot runs.

Developer Options

hlvm --debug
hlvm --no-banner
hlvm --port 18442

--port isolates the runtime host for development or tests. The default runtime host is 127.0.0.1:11435.

Next