Fay is a compiler for a proper subset of Haskell that type-checks using GHC and compiles to JavaScript. It supports pure functional programming, a Fay-specific monad, FFI, optional tail-call optimization, and integration with Cabal packages. GHC-compatible type checking, ensuring correctness. Lazy, pure functional semantics with a distinct Fay monad. Foreign Function Interface (FFI) to integrate native JS code. Compatible with standard Haskell packaging tools like Cabal.

Features

  • Compiles a Haskell subset to JavaScript
  • GHC-compatible type checking, ensuring correctness
  • Lazy, pure functional semantics with a distinct Fay monad
  • Foreign Function Interface (FFI) to integrate native JS code
  • Experimental tail-call optimization support
  • Compatible with standard Haskell packaging tools like Cabal

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

BSD License

Follow Fay

Fay Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Fay!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Haskell

Related Categories

Haskell Compilers

Registered

2025-09-04