Skip to content

Conversation

@GaspardKirira
Copy link
Member

REPL Isolation & Stability

This release fully isolates the REPL from the CLI execution layer, turning it into a safe and predictable interactive sandbox.

Highlights

  • CLI commands (build, run, check, tests, verify) are disabled in the REPL
  • CLI flags and command autocompletion removed from the REPL
  • help <command> and CLI command listings disabled
  • Clear error messages when attempting CLI operations
  • Improved REPL consistency and UX

REPL Scope

The REPL now focuses exclusively on:

  • math expressions
  • variables and JSON literals
  • print / println
  • Vix API (cd, cwd, env, args, pid, mkdir, exit, …)

Why

This establishes a clear separation of concerns:

  • CLI → build, run, test, verify
  • REPL → exploration, scripting, experimentation

✅ Recommended update

@GaspardKirira GaspardKirira merged commit c52024b into main Dec 22, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants