fay: A compiler for Fay, a Haskell subset that compiles to JavaScript.

[ bsd3, development, fay, library, program, web ] [ Propose Tags ]

Fay is a strict subset of Haskell which can be compiled (type-checked) with GHC, and compiled to JavaScript.


See documentation at http://fay-lang.org/ or build your own documentation with:

$ cabal build
$ dist/build/fay-docs/fay-docs


See http://fay-lang.org/#examples.

Release Notes

Lots of documentation updates, some runtime fixes, some more examples, tail-call optimization prototype.

  • Add analytics to .cabal.

  • Fix types for ghc.

  • Use continue (for now) for TCO (refs #19).

  • Tail recursive optimization prototype (refs #19).

  • Tail recursive example doc.

  • Ref example.

  • fromInteger/fromRational in the runtime (closes #20).

  • Add missing operators to Prelude and built-ins list (closes #16).

  • Throw error about unsupported where (closes #17).

  • Fix silly enumFromTo mistake.

  • A test-case that tail-recursive functions run iteratively.

  • Optimize constant patterns slightly, shaves off some time.

  • Add Fay.Show (preliminary implementation).

  • Add data/show example.

  • Add note about generating docs.

  • Add note that you need nodejs installed to run the tests.

  • Include google analytics in docs and generate index.html rather than home.html.

  • Updated dom example with onload handler.

  • Remove max-width to fix firefox.

  • Mention minifying slightly in docs.

  • Remove language-javascript dependency.

  • Remove non-ascii character in runtime.js

  • Don't print counts in fay-tests.

  • Add small note about livescript.

  • Added fork on github for docs.

  • Use === instead of == for jseq (closes #6).

  • Some word break on the pre's.

  • Rename modules from Main to X (closes #5).

  • Ignore more stuff.

  • Toggle examples.

  • Put examples side-by-side (closes #3).

  • sstrictproper to avoid confusion.

  • Convert from function expression assignments to function definitions

See full history at: https://github.com/chrisdone/fay/commits


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Versions [RSS],,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 0.18.1,,,, 0.19,,, 0.19.1,,, 0.19.2,,,,,,,,,,,,,,,, 0.21.1, 0.21.2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Change log CHANGELOG
Dependencies base (>=4 && <4.7), blaze-html (<, blaze-markup, bytestring, data-default, directory, filepath, haskell-src-exts (<1.14), HUnit, json, mtl, pretty-show, process, time [details]
License BSD-3-Clause
Copyright 2012 Chris Done
Author Chris Done
Maintainer chrisdone@gmail.com
Revised Revision 2 made by AdamBergmark at 2015-08-14T15:18:21Z
Category Development
Home page http://chrisdone.com/fay
Uploaded by ChrisDone at 2012-07-26T22:16:56Z
Distributions NixOS:
Executables fay-docs, fay-tests, fay
Downloads 96740 total (124 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]