You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ Please make sure to check out our [Code of Conduct](CODE_OF_CONDUCT.md) and make
6
6
7
7
## Ways to contribute
8
8
9
-
- Writing docs for the manual (Check for issues that are marked with a [`manual`](https://github.com/rescript-association/rescript-lang.org/issues?q=is%3Aissue+is%3Aopen+label%3A"manual") and [`help wanted`](https://github.com/rescript-association/rescript-lang.org/issues?q=is%3Aissue+is%3Aopen+label%3A"help+wanted") tag)
10
-
- Joining in discussions on our [issue tracker](https://github.com/rescript-association/rescript-lang.org/issues)
9
+
- Writing docs for the manual (Check for issues that are marked with a [`manual`](https://github.com/rescript-lang/rescript-lang.org/issues?q=is%3Aissue+is%3Aopen+label%3A"manual") and [`help wanted`](https://github.com/rescript-lang/rescript-lang.org/issues?q=is%3Aissue+is%3Aopen+label%3A"help+wanted") tag)
10
+
- Joining in discussions on our [issue tracker](https://github.com/rescript-lang/rescript-lang.org/issues)
11
11
- Give feedback for improvements (incomplete / missing docs, bad wording,
12
12
search user experience / design, etc.)
13
13
- Advanced: Help building platform features (design system, automatic testing, markdown parsing, etc.)
@@ -16,15 +16,15 @@ Please make sure to check out our [Code of Conduct](CODE_OF_CONDUCT.md) and make
16
16
17
17
### Find an issue
18
18
19
-
Before you start any work or submit any PRs, make sure to check our [issue tracker](https://github.com/rescript-association/rescript-lang.org/issues) for any issues or discussions on the topic.
19
+
Before you start any work or submit any PRs, make sure to check our [issue tracker](https://github.com/rescript-lang/rescript-lang.org/issues) for any issues or discussions on the topic.
20
20
21
21
If you can't find any relevant issues, feel free to create a new one to start a discussion. We usually assign issues to a responsible person to prevent confusion and duplicate work, so always double check if an issue is currently being worked on, or talk to the current assignee to take over the task.
22
22
23
23
**Always make sure to get feedback from the core maintainers before starting any work**
24
24
25
25
The project follows very specific goals and tries to deliver the highest value with the least amount of resources. Please help us focus on the tasks at hand and don't submit any code / bigger refactorings without any proper discussion on the issue tracker. Otherwise your PR might not be accepted!
26
26
27
-
If you need inspiration on what to work on, you can check out issues tagged with [`good first issue`](https://github.com/rescript-association/rescript-lang.org/issues?q=is%3Aissue+is%3Aopen+label%3A"good+first+issue") or [`help wanted`](https://github.com/rescript-association/rescript-lang.org/issues?q=is%3Aissue+is%3Aopen+label%3A"help+wanted").
27
+
If you need inspiration on what to work on, you can check out issues tagged with [`good first issue`](https://github.com/rescript-lang/rescript-lang.org/issues?q=is%3Aissue+is%3Aopen+label%3A"good+first+issue") or [`help wanted`](https://github.com/rescript-lang/rescript-lang.org/issues?q=is%3Aissue+is%3Aopen+label%3A"help+wanted").
28
28
29
29
### Discuss an issue
30
30
@@ -44,7 +44,7 @@ We value your voluntary work, and of course it's fine to step back from a ticket
The changes are listed [here](https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#83), this is a large release, and we will go through some highlighted changes.
20
+
The changes are listed [here](https://github.com/rescript-lang/rescript/blob/master/Changes.md#83), this is a large release, and we will go through some highlighted changes.
21
21
22
22
23
23
@@ -122,7 +122,7 @@ Now user can pick up their js file extension support per module format:
122
122
123
123
## More flexible filename support
124
124
125
-
To have better integration with other [JS infrastructures](https://github.com/rescript-lang/rescript-compiler/issues/4624),
125
+
To have better integration with other [JS infrastructures](https://github.com/rescript-lang/rescript/issues/4624),
126
126
for example, Next.js/React Native, we allow file names like `404.res`,
127
127
`Button.Android.res` so that it can just be picked up by those tools
Copy file name to clipboardExpand all lines: _blogposts/2020-11-17-editor-support-custom-operators-and-more.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ description: |
8
8
Update on what we're doing around the end of 2020 and early next year.
9
9
---
10
10
11
-
importVideofrom"src/components/Video"
11
+
importVideofrom"src/components/Video";
12
12
13
13
## Upcoming Improvements
14
14
@@ -28,7 +28,7 @@ Hongbo continues to improve the compiler experience in monorepo-like setups. Exp
28
28
29
29
## Docs
30
30
31
-
Patrick is [rearranging the React documentation](https://github.com/rescript-association/rescript-lang.org/pull/96), and continues to improve the main documentation site with Cheng Lou.
31
+
Patrick is [rearranging the React documentation](https://github.com/rescript-lang/rescript-lang.org/pull/96), and continues to improve the main documentation site with Cheng Lou.
The changes are listed [here](https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#841).
22
+
The changes are listed [here](https://github.com/rescript-lang/rescript/blob/master/Changes.md#841).
23
23
24
24
We will go through some highlighted changes.
25
25
@@ -33,11 +33,10 @@ In this release, we fix the integrity of `bsb -make-world` which allows user to
33
33
The fix is well implemented that people who don't do such modifications will not pay for it.
34
34
35
35
This is one of the highest desired feature request based on the
36
-
[user feedback](https://github.com/rescript-lang/rescript-compiler/issues/4361#issuecomment-739538789), so we will expand a bit here why it is tricky
37
-
to implement it without compromising performance.
36
+
[user feedback](https://github.com/rescript-lang/rescript/issues/4361#issuecomment-739538789), so we will expand a bit here why it is tricky to implement it without compromising performance.
38
37
39
38
In ReScript compilation scheme, dependencies as packages are treated as a black box,
40
-
changes of dependencies should be *transitive*. The is due to that we have cross module
39
+
changes of dependencies should be _transitive_. The is due to that we have cross module
41
40
optimizations and the binary interface itself is a hash of its dependencies.
42
41
So for a package dependency chain: A -> B -> C, if A changes and B does not change, C still needs get rebuilt.
43
42
Because the intermediate output of B may still change due to the change of A.
@@ -68,6 +67,6 @@ of such stale outptu, such stale `List.cmi` file will break the integrity of the
68
67
In this release, we introduced a more robust algorithm that will always remove stale output before the build so
69
68
that such integrity is not broken.
70
69
71
-
Last but not the least, we continue improving the readability, debuggability of the [generated output](https://github.com/rescript-lang/rescript-compiler/pull/4858) : )
70
+
Last but not the least, we continue improving the readability, debuggability of the [generated output](https://github.com/rescript-lang/rescript/pull/4858) : )
You can also try our new release in the [Online Playground](/try).
24
24
25
-
In this post we will highlight the most notable changes. The full changelog for this release can be found [here](https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#90).
25
+
In this post we will highlight the most notable changes. The full changelog for this release can be found [here](https://github.com/rescript-lang/rescript/blob/master/Changes.md#90).
26
26
27
27
## Compiler Improvements
28
28
29
29
### New External Stdlib Configuration
30
30
31
-
This is a long-awaited [feature request](https://github.com/rescript-lang/rescript-compiler/pull/2171).
31
+
This is a long-awaited [feature request](https://github.com/rescript-lang/rescript/pull/2171).
32
32
33
33
Our compiler comes with a set of stdlib modules (such as `Belt`, `Pervasives`, etc.) for core functionality. Compiled ReScript code relies on the JS runtime version of these stdlib modules.
34
34
@@ -47,7 +47,7 @@ We made a small [demo repo](https://github.com/bobzhang/zero-cost-rescript) and
47
47
48
48
### Improved Code Generation for Pattern Matching
49
49
50
-
We fine-tuned our pattern matching engine to optimize the JS output even more. Here is an example of a pretty substantial optimization, based on [this issue](https://github.com/rescript-lang/rescript-compiler/issues/4924):
50
+
We fine-tuned our pattern matching engine to optimize the JS output even more. Here is an example of a pretty substantial optimization, based on [this issue](https://github.com/rescript-lang/rescript/issues/4924):
51
51
52
52
```res
53
53
type test =
@@ -87,7 +87,7 @@ function test(x) {
87
87
88
88
As you can see, the 9.0 compiler removes all the unnecessary `typeof` checks!
89
89
90
-
This is possible because our optimizer will try to analyze several predicates and get rid of redundant ones. More diffs can be found [here](https://github.com/rescript-lang/rescript-compiler/pull/4927/files?file-filters%5B%5D=.js).
90
+
This is possible because our optimizer will try to analyze several predicates and get rid of redundant ones. More diffs can be found [here](https://github.com/rescript-lang/rescript/pull/4927/files?file-filters%5B%5D=.js).
91
91
92
92
Another important improvement is that we fixed the pattern match offset issue, which lead to the consequence that magic numbers will not be generated for complex pattern matches anymore.
- Help maintaining editor related tools such as [rescript-vscode](https://github.com/rescript-lang/rescript-vscode), [vim-rescript](https://github.com/rescript-lang/vim-rescript) and the underlying [editor-support](https://github.com/rescript-lang/rescript-editor-support).
30
30
- Design & logo assets (together with our designer) for all of ReScript.
31
31
- Helping out on upcoming [ocaml.org](https://ocaml.org) work.
@@ -48,6 +48,7 @@ High quality, long-term Open Source work doesn’t come from some good words and
48
48
If your company relies on the ReScript platform for building commercial products, please consider supporting our efforts by [sending a donation](https://rescript-association.org/donate). It’s the best way to future proof your product’s foundation. Alternatively, you can sponsor individual members like [ryyppy](https://github.com/sponsors/ryyppy/) on GitHub Sponsors.
49
49
50
50
We want to take this opportunity to thank our previous and active sponsors:
Copy file name to clipboardExpand all lines: _blogposts/2021-05-07-release-9-1.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ description: |
10
10
11
11
## Exciting Improvements in ReScript 9.1
12
12
13
-
Our recent few releases of ReScript contains [lots of improvements](https://github.com/rescript-lang/rescript-compiler/blob/3134392a364b70c9c172aa6c1dbaa1ac6580265d/Changes.md#91), among which are a few standout features we'd like to further promote. Hope you're as excited as we are about these! It goes without saying, our [updated editor plugin](https://forum.rescript-lang.org/t/ann-rescript-vscode-1-1-1-released/1542/3) works with the new releases.
13
+
Our recent few releases of ReScript contains [lots of improvements](https://github.com/rescript-lang/rescript/blob/3134392a364b70c9c172aa6c1dbaa1ac6580265d/Changes.md#91), among which are a few standout features we'd like to further promote. Hope you're as excited as we are about these! It goes without saying, our [updated editor plugin](https://forum.rescript-lang.org/t/ann-rescript-vscode-1-1-1-released/1542/3) works with the new releases.
14
14
15
15
### New NPM Package
16
16
@@ -159,6 +159,6 @@ let helloUnicode = (x) =>{
159
159
160
160
## Conclusion
161
161
162
-
Don't miss our various other improvements in [our changelog](https://github.com/rescript-lang/rescript-compiler/blob/3134392a364b70c9c172aa6c1dbaa1ac6580265d/Changes.md#91). As always we try to keep our changes performant, lean and robust. We hope you'll enjoy these.
162
+
Don't miss our various other improvements in [our changelog](https://github.com/rescript-lang/rescript/blob/3134392a364b70c9c172aa6c1dbaa1ac6580265d/Changes.md#91). As always we try to keep our changes performant, lean and robust. We hope you'll enjoy these.
Copy file name to clipboardExpand all lines: _blogposts/2021-06-25-roadmap-2021-and-new-landing-page.mdx
+8-4
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ It has almost been a year since we originally [launched our new ReScript brand](
21
21
- Accessible object system (no need for `Js.t`)
22
22
- The release of our new `rescript` npm package and cli to replace `bs-platform`
23
23
- Making every part of ReScript fully community owned
24
-
- etc.
24
+
- etc.
25
25
26
26
Stay tuned, this is just the beginning!
27
27
@@ -30,6 +30,7 @@ Stay tuned, this is just the beginning!
30
30
We had some thorough discussions about the future of the project and outlined the most important milestones for the next upcoming releases.
31
31
32
32
**Here's the gist:**
33
+
33
34
- Two release channels: `stable` and `experimental`
34
35
- More predictable release dates and better migration steps
35
36
- Better communication and discussion for breaking changes
@@ -41,15 +42,18 @@ The detailed roadmap with all our planned changes (and definition of our release
41
42
42
43
After several iterations, we are happy to announce our new [landing page](/).
43
44
44
-
<Imagesrc="/static/img/landing_page_figma.png"withShadow={true}caption="Figma design draft for the new landing page"/>
45
+
<Image
46
+
src="/static/img/landing_page_figma.png"
47
+
withShadow={true}
48
+
caption="Figma design draft for the new landing page"
49
+
/>
45
50
46
51
This is an incredible milestone for the documentation, and will act as a foundation for some cool new future improvements, such as:
47
52
48
53
- Highlighted Case Studies from production users such as Beop or Rohea
49
54
- An interactive playground widget for the headline code examples
50
55
- New starter templates and guides
51
56
52
-
53
-
Furthermore, in case you are a **production user of ReScript** and you want to see your company logo highlighted on the landing page, please [open an issue](https://github.com/rescript-association/rescript-lang.org/issues) and let us know!
57
+
Furthermore, in case you are a **production user of ReScript** and you want to see your company logo highlighted on the landing page, please [open an issue](https://github.com/rescript-lang/rescript-lang.org/issues) and let us know!
Copy file name to clipboardExpand all lines: _blogposts/2022-08-25-release-10-0-0.mdx
+5-5
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ReScript version 10 is available! Version 10 is a culmination of over a year's w
14
14
npm install rescript@10
15
15
```
16
16
17
-
All changes are listed [here](https://github.com/rescript-lang/rescript-compiler/blob/10.0_release/CHANGELOG.md). Let's take a tour of a few of the features we're extra excited about.
17
+
All changes are listed [here](https://github.com/rescript-lang/rescript/blob/10.0_release/CHANGELOG.md). Let's take a tour of a few of the features we're extra excited about.
18
18
19
19
## Faster builds with native M1 support
20
20
Users with M1 chips should see a notable speedup, as the new ReScript version has full native support for M1.
@@ -27,9 +27,9 @@ let str = "Σ"
27
27
28
28
You can also pattern match on Unicode characters:
29
29
```res
30
-
switch someCharacter {
31
-
| 'Σ' => "what a fine Unicode char"
32
-
| _ => "Unicode is fun"
30
+
switch someCharacter {
31
+
| 'Σ' => "what a fine Unicode char"
32
+
| _ => "Unicode is fun"
33
33
}
34
34
```
35
35
@@ -79,7 +79,7 @@ Version 10 brings the building blocks needed for a number of exciting new featur
79
79
80
80
## Upgrade guide
81
81
82
-
Please see the detailed [changelog](https://github.com/rescript-lang/rescript-compiler/blob/10.0_release/CHANGELOG.md) for a list of breaking changes.
82
+
Please see the detailed [changelog](https://github.com/rescript-lang/rescript/blob/10.0_release/CHANGELOG.md) for a list of breaking changes.
83
83
Each breaking change lists suggestions on how to upgrade your project.
84
84
This can be out of your control in case of dependencies. In that case, please raise issues with the maintainers of those libraries.
0 commit comments