There are multiple ways to launch the REPL:
-
Right-click on the notification area (system tray) icon
shown on the taskbar, then select Launch REPL. This command will try to connect to an existing REPL server, and automatically start one if none is running.
-
Bind a key to call the
:repl
command. You can specify in the command's arguments whether a server should be automatically started or not:# The `true` argument tells the command to # automatically start an REPL server (:define-key keymap "Win + Enter" [:repl true])
-
Pass the
--client
and--repl
options when starting Jwno from the command line. This will not start an REPL server automatically, and Jwno will show a network error when no server is running:jwno.exe --client --repl 127.0.0.1:9999
When the REPL connected successfully, a console window will pop up, showing a simple prompt:
Welcome to Jwno REPL!
[127.0.0.1:9999]:1: _