From 8d2660ae4038f111d095e6aff3a014f8b16a2167 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Mon, 30 Apr 2018 20:45:06 -0400 Subject: [PATCH] Repl docs --- docs/API.md | 1 + docs/api/scheme/repl.md | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 docs/api/scheme/repl.md diff --git a/docs/API.md b/docs/API.md index a6f433ac..891cd552 100644 --- a/docs/API.md +++ b/docs/API.md @@ -30,6 +30,7 @@ This section of the Cyclone API is based on the [R7RS Scheme Specific - [`scheme load`](api/scheme/load) - [`scheme process-context`](api/scheme/process-context) - [`scheme read`](api/scheme/read) +- [`scheme repl`](api/scheme/repl) - [`scheme time`](api/scheme/time) - [`scheme write`](api/scheme/write) diff --git a/docs/api/scheme/repl.md b/docs/api/scheme/repl.md new file mode 100644 index 00000000..96660e06 --- /dev/null +++ b/docs/api/scheme/repl.md @@ -0,0 +1,25 @@ +--- +layout: main +title: API +--- + +# REPL Library + +The `(scheme repl)` library provides functions related to Read-Eval-Print-Loops. + +For more information see the [R7RS Scheme Specification](../../r7rs.pdf). + +- [`interaction-environment`](#interaction-environment) +- [`repl`](#repl) + +# interaction-environment + + (interaction-environment) + +This procedure returns a specifier for a mutable environment that is the same as the one used by Cyclone's built-in REPL. + +# repl + + (repl) + +Starts an interactive REPL. This is not a standard function provided by R7RS.