summaryrefslogtreecommitdiff
path: root/manuals/chickadee/Live-Coding.html
diff options
context:
space:
mode:
Diffstat (limited to 'manuals/chickadee/Live-Coding.html')
-rw-r--r--manuals/chickadee/Live-Coding.html24
1 files changed, 15 insertions, 9 deletions
diff --git a/manuals/chickadee/Live-Coding.html b/manuals/chickadee/Live-Coding.html
index 74a927c..4e3c174 100644
--- a/manuals/chickadee/Live-Coding.html
+++ b/manuals/chickadee/Live-Coding.html
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
-<!-- Copyright (C) 2017-2020 David Thompson davet@gnu.org
+<!-- Copyright (C) 2017-2021 David Thompson davet@gnu.org
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
@@ -31,9 +31,9 @@ http://www.texinfo.org/ (GNU Texinfo).
<link href="index.html" rel="start" title="Top">
<link href="Index.html" rel="index" title="Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
-<link href="Kernel.html" rel="up" title="Kernel">
-<link href="Math.html" rel="next" title="Math">
-<link href="Window-Manipulation.html" rel="prev" title="Window Manipulation">
+<link href="index.html" rel="up" title="Top">
+<link href="API-Reference.html" rel="next" title="API Reference">
+<link href="Invoking-chickadee-bundle.html" rel="prev" title="Invoking chickadee bundle">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
@@ -82,18 +82,24 @@ ul.no-bullet {list-style: none}
<body lang="en">
<span id="Live-Coding"></span><div class="header">
<p>
-Previous: <a href="Window-Manipulation.html" accesskey="p" rel="prev">Window Manipulation</a>, Up: <a href="Kernel.html" accesskey="u" rel="up">Kernel</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
+Next: <a href="API-Reference.html" accesskey="n" rel="next">API Reference</a>, Previous: <a href="Command-Line-Interface.html" accesskey="p" rel="prev">Command Line Interface</a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
-<span id="Live-Coding-1"></span><h4 class="subsection">2.1.4 Live Coding</h4>
+<span id="Live-Coding-1"></span><h2 class="chapter">4 Live Coding</h2>
<p>One of the biggest appeals of any Lisp dialect is the ability to use
the &ldquo;read-eval-print loop&rdquo; (REPL for short) to build programs
iteratively and interactively while the program is running. However,
programs that run in an event loop and respond to user input (such as
-a video game) require special care for this workflow to be pleasant.
-Chickadee provides no built-in support for live coding, but it&rsquo;s
-fairly easy to hook up a special kind of REPL yourself.
+a game using the Chickadee library!) require special care for this
+workflow to be pleasant.
+</p>
+<p>If you are using the <code>chickadee play</code> command to run your
+game, then the <code>--repl</code> or <code>--repl-server</code> arguments are all
+you need to get a live coding environment running.
+</p>
+<p>If, however, you are using <code>run-game</code> to start the game loop then
+it&rsquo;s still fairly easy to hook up a special kind of REPL by yourself.
</p>
<p>First, create a cooperative REPL server (It&rsquo;s important to use Guile&rsquo;s
cooperative REPL server instead of the standard REPL server in