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
Stop vibe-debugging. Icon
Stop vibe-debugging.

Plug Claude into your app's actual errors.

AppSignal's MCP server hands Claude, Cursor, or Zed your real errors, traces, and the deploy that shipped them. AI writes the fix; you review the diff.
Free 30 days.
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