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

[ bsd3, development, fay, library, program, web ] [ Propose Tags ] [ Report a vulnerability ]

Fay is a proper subset of Haskell which is type-checked with GHC, and compiled to JavaScript. It is lazy, pure, has a Fay monad, an FFI, tail-recursion optimization (experimental), and support for cabal packages.

Documentation

See https://github.com/faylang/fay/wiki

Examples

See the examples directory and https://github.com/faylang/fay/wiki#fay-in-the-wild


[Skip to Readme]

Modules

[Last Documentation]

  • Fay
    • Fay.Compiler
      • Fay.Compiler.Desugar
      • Fay.Compiler.Parse
      • Fay.Compiler.Prelude
    • Fay.Config
    • Fay.Convert
    • Fay.FFI
    • Fay.Types
      • Fay.Types.CompileError
      • Fay.Types.CompileResult

Flags

Manual Flags

NameDescriptionDefault
test

Build the fay-tests executable

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

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

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.3.1.0, 0.3.1.1, 0.4.0.1, 0.4.0.4, 0.5.0.0, 0.5.1.0, 0.5.2.0, 0.6.0.0, 0.9.1.0, 0.9.2.0, 0.10.0.0, 0.10.1.0, 0.11.0.0, 0.12.0.0, 0.12.0.1, 0.14.0.0, 0.14.1.0, 0.14.2.0, 0.14.3.0, 0.14.4.0, 0.14.5.0, 0.15.0.0, 0.16.0.0, 0.16.0.1, 0.16.0.2, 0.16.0.3, 0.17.0.0, 0.18.0.0, 0.18.0.1, 0.18.0.2, 0.18.0.3, 0.18.0.4, 0.18.0.5, 0.18.1, 0.18.1.1, 0.18.1.2, 0.18.1.3, 0.19, 0.19.0.1, 0.19.0.2, 0.19.1, 0.19.1.1, 0.19.1.2, 0.19.2, 0.19.2.1, 0.20.0.0, 0.20.0.1, 0.20.0.2, 0.20.0.3, 0.20.0.4, 0.20.1.0, 0.20.1.1, 0.20.1.2, 0.20.1.3, 0.20.1.4, 0.20.2.0, 0.21.0.0, 0.21.0.1, 0.21.0.2, 0.21.1, 0.21.2, 0.21.2.1, 0.22.0.0, 0.23.0.0, 0.23.0.1, 0.23.1.0, 0.23.1.1, 0.23.1.2, 0.23.1.3, 0.23.1.4, 0.23.1.5, 0.23.1.6, 0.23.1.7, 0.23.1.8, 0.23.1.9, 0.23.1.10, 0.23.1.11, 0.23.1.12, 0.23.1.13, 0.23.1.14, 0.23.1.15, 0.23.1.16, 0.23.2.0, 0.24.0.0, 0.24.0.1, 0.24.0.2, 0.24.0.3, 0.24.0.4, 0.24.0.5, 0.24.1.0, 0.24.1.1, 0.24.2.0
Change log CHANGELOG.md
Dependencies aeson (>0.6 && <1.1), base (<0), base-compat (>=0.8 && <0.10), bytestring (>=0.9 && <0.11), containers (>=0.4 && <0.6), data-default (>=0.2 && <0.8), data-lens-light (>=0.1 && <0.2), directory (>=1.1 && <1.3), fay, filepath (>=1.3 && <1.5), ghc-paths (>=0.1 && <0.2), haskell-src-exts (>=1.18.1 && <1.19), language-ecmascript (>=0.15 && <0.18), mtl (>=2.1 && <2.3), mtl-compat (>=0.1 && <0.3), optparse-applicative (>=0.11 && <0.13), process (>=1.1 && <1.5), safe (>=0.2 && <0.4), sourcemap (>=0.1 && <0.2), split (>=0.1 && <0.3), spoon (>=0.1 && <0.4), syb (>=0.3 && <0.7), tagged, text (>=0.11 && <1.3), time (>=1.4 && <1.7), transformers (>=0.3 && <0.4 || >0.4.1 && <0.7), transformers-compat (>=0.3 && <0.6), traverse-with-class (>=0.1 && <0.3), type-eq (>=0.1 && <0.6), uniplate (>=1.6.11 && <1.7), unordered-containers (>=0.2 && <0.3), utf8-string (>=0.1 && <1.1), vector (<0.12) [details]
License BSD-3-Clause
Copyright 2012 Chris Done, Adam Bergmark
Author Chris Done, Adam Bergmark
Maintainer adam@bergmark.nl
Revised Revision 1 made by HerbertValerioRiedel at 2016-12-04T17:05:08Z
Category Development, Web, Fay
Home page https://github.com/faylang/fay/wiki
Bug tracker https://github.com/faylang/fay/issues
Source repo head: git clone https://github.com/faylang/fay.git
Uploaded by AdamBergmark at 2016-08-12T12:14:29Z
Distributions
Reverse Dependencies 13 direct, 8 indirect [details]
Executables fay-tests, fay
Downloads 100673 total (245 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-21 [all 2 reports]

Readme for fay-0.23.1.13

[back to package description]

Fay programming language

Build Status

We use the Github wiki for our home page and documentation: https://github.com/faylang/fay/wiki

Changelog