MiracleBlue / ps-game-of-life

Just my experiments with Purescript Concur and making a Game of Life

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Purescript Concur Starter

A Starter kit for Purescript-Concur. Uses Npm, Spago, Google Closure Compiler, and Parcel. Builds tiny 180KB uncompressed bundles!

Usage

Grab the code

git clone https://github.com/purescript-concur/purescript-concur-starter.git

Don't forget to tweak the project name and other details in package.json and bower.json

Build code

npm install

npm run dev

Run Dev Server

npm start

Hot code reload with purescript code

At the end of the previous command, you will have a development server which will watch for changes, and automatically reload the web page. This mechanism only works with JS changes.

However, in practice, your IDE should automatically recompile Purescript to Javascript on every change, which will be picked up by the development server. So you get immediate recompilation even with Purescript.

Build production artifacts

npm run prod

About

Just my experiments with Purescript Concur and making a Game of Life

License:MIT License


Languages

Language:Dhall 82.6%Language:PureScript 12.0%Language:HTML 4.4%Language:JavaScript 1.0%