[#344] add nREPL docs

This commit is contained in:
Michiel Borkent 2020-04-12 16:33:20 +02:00
parent cca63e913f
commit 658f115bfb
2 changed files with 6 additions and 3 deletions

View file

@ -415,6 +415,11 @@ $ cat script.clj
("hello" "1" "2" "3") ("hello" "1" "2" "3")
``` ```
## [Running a REPL](doc/repl.md)
Babashka offers a REPL, a socket REPL and an nREPL server. Look
[here](doc/repl.md) for more information.
## Preloads ## Preloads
The environment variable `BABASHKA_PRELOADS` allows to define code that will be The environment variable `BABASHKA_PRELOADS` allows to define code that will be
@ -653,8 +658,6 @@ bb -cp "src:test:resources" \
(System/exit (+ fail error)))" (System/exit (+ fail error)))"
``` ```
## [REPL](doc/repl.md)
## Spawning and killing a process ## Spawning and killing a process
Use the `java.lang.ProcessBuilder` class. Use the `java.lang.ProcessBuilder` class.

View file

@ -1,4 +1,4 @@
# REPLs # Running a REPL
Babashka supports running a REPL, a socket REPL and an nREPL server. Babashka supports running a REPL, a socket REPL and an nREPL server.