Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 11594ce

Browse files
cknittcristianoc
authored andcommitted
Remove instructions for converting files from .re to .res
1 parent 047c57b commit 11594ce

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,6 @@ Right now, ReScript's compiler's error reporting mechanism, for architectural re
104104
- The errors are reported by the parser [here](https://github.com/rescript-lang/syntax/blob/ec5cefb23b659b0a7be170ae0ad26f3fe8a05456/src/res_diagnostics.ml#L146).
105105
- Our editor plugin parses the error report from the compiler and from the syntax [here](https://github.com/rescript-lang/rescript-vscode/blob/0dbf2eb9cdb0bd6d95be1aee88b73830feecb5cc/server/src/utils.ts#L129-L329).
106106

107-
### Example File Conversion
108-
109-
In a random project of yours:
110-
111-
```sh
112-
node_modules/.bin/bsrefmt --print=binary myFile.re | your/path/to/rescript -parse reasonBinary -print ns > myFile.res
113-
node_modules/.bin/bsrefmt --print=binary --interface=true myFile.rei | your/path/to/rescript -parse reasonBinary -print ns -interface > myFile.resi
114-
mv myFile.re myFile.re.backup # random backup name. Could be anything
115-
```
116-
117107
### Example API usage
118108

119109
```ocaml

0 commit comments

Comments
 (0)