Skip to content

mark-gerarts/nature-of-code-elm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nature of code: Elm edition

Nature of code exercises and examples implemented in Elm. Let's see how far we can get in a functional language :).

See the sketches live here. Note that 3D sketches are omitted since these are not supported by elm-canvas.

Running the examples locally

Run a single sketch (requires elm-live):

$ elm-live src/Introduction/TraditionalRandomWalk.elm --open --start-page=sketch.html -- --output=sketch.js

Building the website

To build the site you require:

  • Elm
  • UglifyJS
  • PHP (I wanted it quick and dirty, okay!)

Make sure site-structure.json is up-to-date and then run:

$ ./generate-site

Related

Nature of code in Common Lisp.

Releases

No releases published

Packages

No packages published