Run the compiled code in your browser or see the instructions at the end of this page.
To run the compiled code, see the instructions at the end of this page.
(nothing compiled yet)
Common Lisp back-end instructions
The Lisp back-end has been tested with clisp and gcl.
- Save the above output to a file, say prog.lsp
- Save cpscm-drv.lsp and prelude.lsp to the same directory
- Start your lisp interpreter and type: (mapc #'load '("cpscm-drv.lsp" "prelude.lsp" "prog.lsp"))
Javascript back-end instructions
You can run the compiled code right now or you can
- Save the above output to a file, say prog.js
- Save cpscm-drv.js and prelude.js to the same directory
Either create an HTML file that references the appropriate sources in its <head>
section:
<script type="text/javascript" src="cpscm-drv.js"></script>
<script type="text/javascript" src="prelude.js"></script>
<script type="text/javascript" src="prog.js"></script>
or load the files in Rhino:
(load "cpscm-drv.js")
(load "prelude.js")
(load "prog.js")