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

Having spent several unsuccessful hours trying to get a build working in a setup where we have some of the bs/reason source files in a symlinked folder, I figured I...

stale

I'm looking to make two changes to the ppx that would be breaking and want to use this as a place to discuss strategy. ## Changes 1. instead of compiling...

stale

We use `bisect_ppx` for coverage reports on our [monorepo](https://github.com/quantified-uncertainty/squiggle). Observe [this](https://github.com/quantified-uncertainty/squiggle/runs/7732440074?check_suite_focus=true) job in CI (running on ubuntu) for a real-world scenario. For a minimal reproducer, you can clone `git clone...

This PR makes the jsx ppx v4 + classic mode as default. The related discussion is #5505 Here are the cases of how the jsx ppx is activated. 1. Old...

# Summary We have two related issues: 1. The error message from setting the property of ReScript Object with no `@set` decorator set is unclear, not helpful, and probably a...

This is a follow up of the [forum post](https://forum.rescript-lang.org/t/using-dynamic-imports-in-nextjs/3597) When it comes to dynamic import of modules in ReScript, it looks verbose. For example, given a React component, we can...

enhancement

This task is to track the various activities related to JSX V4. - [x] PPX in the syntax repo https://github.com/rescript-lang/syntax/pull/586 - [x] New configuration with `bsconfig.json` https://github.com/rescript-lang/rescript-compiler/pull/5484 - [x] Add...

I'm not sure when this changed but the following example works on v10 and fails on master: https://rescript-lang.org/try?code=LYewJgrgNgpgBAIQJYDsyoOZwLxwN4BQccALgJ4AO8JBRcAAgM4xpwwAeJMATigIZQ4EZgBUAXHAAUJADRxGJbpgCUOAHxCUSEjjgAiYTBF6CAX1rkqcbjADGIbmADq2gBYjdeAG4CIMCchomAB0JOYEsDr2wABGqDBgujb2jup0yQ5gwT5QfgC0aoTExCBUKIio6CgYdMSGIpJ6rkh6ynTmQA It's a bit of a weird structure but it did come up...

See for example https://github.com/rescript-lang/rescript-compiler/pull/5539#issuecomment-1180325550 Commands behaving non-deterministically, i.e. run it again and you might get a different result: 1 `./scripts/ninja.js clean`, `config` , `build` 2 `node scripts/install -force-lib-rebuild` It *could...

As a follow up to #5361, we want to convert all `ml[i]` files to `res[i]. Master already comes with the new `/** */` sugar, so we won't make any trade-offs...