rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

The compiler for ReScript.

Results 500 rescript-compiler issues
Sort by recently updated
recently updated
newest added

Investigate implementing early return from functions / breaking from loops.

Thank you for filing! Check list: - [x] Is it a bug? Usage questions should often be asked in the [forum](https://forum.rescript-lang.org) instead. - [x] Concise, focused, friendly issue title &...

Follow up to #6183. Extract Belt to `@rescript/belt`.

This document presents rewatch's core algorithms as typed functions, abstracting implementation details to expose fundamental computational patterns. It includes: - Type vocabulary defining the build system's state space - Diagrams...

As soon as I use `Js.import()` I get this error: ``` Missing dependency X in search path. ``` where `X` is `Js.import(X.make)` (following the [lazy component docs](https://rescript-lang.org/docs/react/lazy-components)). Full minimal repro...

### Proposal: Bring ReScript JSX Closer to the JavaScript JSX Spec Currently, ReScript JSX differs from JavaScript’s JSX in a few key ways ([docs](https://rescript-lang.org/docs/manual/jsx#departures-from-js-jsx)). I propose moving ReScript JSX closer...

discussion

Use case: I want to compile a single ReScript file and run it immediately. With this PR I could do `rescript compile-file MyFile.res | bun -` and bun automatically runs...

This PR modifies the ReScript printer to wrap variables (identifiers) in curly braces when they appear as JSX children, making the output consistent with standard JSX conventions. ## Problem Previously,...

Now that the runtime represenation of polyvariants is stable and well defined, we can allow aliasing or patterns of literals into a polyvariant if we want, since we can guarantee...