From d54995cad9ddf652cd2f7abb128d5d251f9454f1 Mon Sep 17 00:00:00 2001
From: David Thompson
--repl
Launch a REPL in the terminal. This will allow the game environment -to debugged and modified without having to stop and restart the game -after each change. +to be debugged and modified without having to stop and restart the +game after each change.
--repl-server[=port]
M-x connect-to-guile
to connect to the
REPL server.
+
+--language=language
Process the input program using language, the identifier of a +language within Guile’s language tower. By default, unsurprisingly, +Scheme is used. +
+For example, to use the neat
+Wisp language as an
+alternative to Scheme’s parenthetical syntax, pass
+--language=wisp
. Wisp is not included with Guile and must be
+installed separately.
+
-x extension
Add extension to the list of file extensions that Guile will +load. +
+For example, Wisp files canonically use the .w extension. +Here’s what a “hello, world” Chickadee program looks like in Wisp: +
+define : draw alpha + draw-text "Hello, world!" : vec2 260.0 240.0 +
Assuming the above code is saved to a hello.w file,
+chickadee play
be invoked as follows:
+
chickadee play --language=wisp -x .w hello.w +