# ReScript

ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript.

Repository: https://github.com/rescript-lang/rescript
Canonical: https://ross.abutalabs.com/products/rescript
Homepage: https://rescript-lang.org
Language: ReScript
License: NOASSERTION
License Family: other
Topics: compiler, javascript, altjs, rescript
Last push: 2026-08-26T12:31:03+00:00
Link (homepage): https://rescript-lang.org
Link (site_page): https://rescript-lang.org/docs/manual/introduction
Link (site_page): https://rescript-lang.org/docs/manual/installation
Link (site_page): https://rescript-lang.org/docs/react/introduction
Link (site_page): https://rescript-lang.org/docs/manual/typescript-integration

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 3892, "days_push": 7, "days_rel": 9, "gap_med": 45, "n_releases_24m": 8}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7435, forks 484 (observed 2026-08-28T04:09:59.874233+00:00)

## What it is
ReScript is a robustly typed programming language that compiles to efficient, human-readable JavaScript, with a lightning-fast compiler toolchain and built-in build system. It offers seamless JavaScript interop, automatic TypeScript type generation, and first-class React bindings.

## Use cases
- write fully typed JavaScript without any types
- compile a typed language to clean JavaScript
- add static typing to an existing JS codebase
- build React apps with a sound type system
- generate TypeScript types from a typed language
- use a fast compiler with instant feedback loops

## When to choose
- you want strong static types compiling to idiomatic JavaScript
- you need fast builds and refactoring at any codebase size
- you want React development with built-in JSX and no Babel plugins
- you need seamless two-way interop with JavaScript and TypeScript

## When to avoid
- your team is not willing to learn a new language syntax
- you rely heavily on JS ecosystem tooling like Babel or webpack plugins
- you need dynamic typing or rapid prototyping without type annotations
- your project depends on libraries without ReScript bindings and you want to avoid writing them

## Facets
- artifact type: library
- maturity: active
- function: compiler, programming-language, type-system, build-tool, developer-tools
- domain: programming-languages, compilers, web-development, frontend, developer-tools
- platform: cross-platform, cli
- tags: compiler, altjs, javascript, typescript-generation, react-bindings, static-typing, jsx, nodejs, web-server

## Member repositories
- rescript-lang/rescript (main) score 95
- rescript-lang/rescript-lang.org (docs) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:59.874233+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:37:43.301636+00:00, confidence not recorded.
  - readme: https://github.com/rescript-lang/rescript (fetched 2026-08-28T04:09:59.874233+00:00, sha b9f012b12089)
  - homepage: https://rescript-lang.org (fetched 2026-08-29T08:33:26.433967+00:00, sha 05255b1a779e)
  - site_page: https://rescript-lang.org/docs/manual/introduction (fetched 2026-08-29T08:33:26.443612+00:00, sha 3389b6096b00)
  - site_page: https://rescript-lang.org/docs/manual/installation (fetched 2026-08-29T08:33:26.445548+00:00, sha bf2d7dcd487d)
  - site_page: https://rescript-lang.org/docs/react/introduction (fetched 2026-08-29T08:33:26.447347+00:00, sha cea5411804b8)
  - site_page: https://rescript-lang.org/docs/manual/typescript-integration (fetched 2026-08-29T08:33:26.449265+00:00, sha 8da346dc0f3b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
