rescript-compiler
rescript-compiler copied to clipboard
The compiler for ReScript.
Steps: - [x] Enable lint and fix it - [ ] Switch to JS modules from CommonJS - [ ] Clean/Refactor scripts - [ ] Clean/Refactor CLIs I won't refactor...
I'm using ReScript v11.1 and ReScript Core in my project, and I'm having trouble with `genType`. Specifically, I have a type that looks like this: ```rescript @genType type hyperInstance =...
As part of the effort to get rid of ninja.js for building the stdlibs and tests, the files in `jscomp/test` need to be cleaned up. Note that due to ninja.js...
In JS, we have try...catch...finally. At the moment, ReScript does not support `finally`.
From the retreat notes: * Subtyping (relevant information is not currently tracked in the compiler) * Interface mismatches (harder to read with JSX4) * Get rid of OCaml syntax in...
JSX v3 is legacy and should be removed sooner or later. Decision needed @cristianoc @zth: Only deprecate JSX v3 in ReScript 12.0 or remove it already?
Rescript v11.1.3 Writing the following code: ```rescript @genType.import(("@supabase/supabase-js", "SupabaseClient")) type client = "createClient" ``` generates the following typescript: ```ts import {createClient as createClientNotChecked} from '@supabase/supabase-js'; // In case of type...
And improve performance
It seems stalebot has been deprecated for a while. 
Document * how ReScript features (uncurried, braces, …) are mapped to the OCaml AST * general compiler architecture / compilation process / layers @cristianoc's talk from the retreat can be...