Fay programming language
- A proper syntactic and semantic subset of Haskell
- Statically typed
- Pure by default
- Has fundamental data types (Double, String, etc.) based upon what JS can support
- Outputs minifier-aware code for small compressed size
Install and run
$ cabal install
To run tests (from within this directory):
To generate documentation (from within this directory):
Try it out:
$ fay --autorun examples/console.hs $ node examples/console.js Hello, World!
Cabal-dev also works:
$ cabal-dev install $ cabal-dev/bin/fay-tests $ cabal-dev/bin/fay-docs $ cabal-dev/bin/fay --autorun examples/console.hs $ node examples/console.js Hello, World!