A very simple web playground for Zilch, which allows showing both the output of the program written as well as what N* code is generated from it.
This repository contains a web app written mostly in Purescript.
You will need to have npm
, purs
and spago
installed.
You may refer to the links below to install these:
npm
: https://docs.npmjs.com/getting-started/purs
: https://github.com/purescript/documentation/blob/master/guides/Getting-Started.mdspago
: https://github.com/purescript/spago#installation
When all the tools are installed, you will simply need to build this project (refer to the documentation of spago to know how to).
The server requires no command-line arguments in order to run, but you may specify these:
--port, -p <INT>
: the integer used as the port number the server will connect to. Defaults to8080
if not specified.--out, -o <DIR>
: the directory used to store temporary files (mainly compilation junk). Defaults to./out
.--with-gzc <EXEC>
: specify the path (or the name) to the executable which will be used to compile the Zilch code. Defaults togzc
which must be found in thePATH
.--with-gcc <EXEC>
: specify the path (or the name) to the executable used to link all generated objects together. Defaults togcc
.
This repository is licensed under the terms of the MIT license.