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

This PR is a proposal to read dependencies, dev dependencies and name from `package.json`

This is a similar feature request to #4965 but more general. ReScript isn't a node-only language and so I shouldn't be required to install node just to build my ReScript...

Relates to #4677. This is my first ever ocaml code, would appreciate if someone could help getting the PR ready to be merged - or just outline what I need...

The compiler started adding empty strings around values in template literals. Technically doesn't break anything, but adds a redundant operation. Example: ```rescript Js.log(`${1->Js.Int.toString}${2->Js.Int.toString}`) ``` Output: ```javascript console.log("" + (1).toString() +...

See https://github.com/rescript-lang/rescript-compiler/issues/5521 and https://github.com/rescript-lang/syntax/pull/602 ------ Just writing down some notes here. This reliance on indirect type checking by putting `""` at either end of string concatenation seems brittle. Also there...

Using latest npm release: 9.1.4 OS: Debian 11 amd64 Sometimes (usually) a `build -w` will recompile and then immediately recompile again ad infiniteum. This typically only affects the 2nd refresh...

Hey, following up the discussion here: https://reasonml.chat/t/moving-bsconfig-to-package-json/2458/12 Opening this issue. ## The problem - Developers need, for every package they install, add it to package.json + add it to bsconfig,...

stale

I added the reverse version of `map`, `forEach` and `keep`. I fixed some typos and examples of the docs. I also added a rescript implementation of `joinWith` (it's around 3...

This: ```rescript let stringLengthNoSideEffects = String.length("sdkdl") ``` now produces ```js var stringLengthNoSideEffects = "sdkdl".length; ``` while it used to be ```js var stringLengthNoSideEffects = 5; ```