github.com/purescript/purescript

A strongly-typed language that compiles to JavaScript

Open this visualization on its own page →

Contributors

187

Lines of Code

15,706

From

2013-09-30

To

2021-01-24

About purescript/purescript

PureScript is a strongly-typed programming language that compiles to JavaScript, designed with expressive type systems and inspired by Haskell. The compiler itself is written in Haskell and aims to bring functional programming paradigms and static type safety to JavaScript development. It offers features like type inference, pattern matching, and a module system, allowing developers to write robust code that catches many errors at compile time rather than runtime.

The project provides a complete ecosystem around the language, including an online playground called Try PureScript where users can experiment without installation, a comprehensive book for learning, and Pursuit, a package index for discovering and exploring libraries. The language appeals to developers interested in functional programming and type-driven development who want to leverage JavaScript's broad platform support, from web browsers to Node.js environments.

PureScript maintains an active community with official spaces on Discord and Discourse, alongside additional unofficial communities on platforms like Matrix and Stack Overflow. The project is actively maintained with regular releases documented on GitHub, and welcomes community contributions through a structured contribution process governed by a code of conduct.

Share this video