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-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
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-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
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:
0 commit comments