Skip to content

Commit 260d770

Browse files
authored
Replace most remaining occurrences of "BuckleScript" with "ReScript" (#6358)
* Replace most remaining occurrences of "BuckleScript" with "ReScript" * ocamlformat
1 parent 0e13400 commit 260d770

File tree

53 files changed

+107
-115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+107
-115
lines changed

jscomp/build_tests/case/src/demo.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
let () = Js.log("Hello, BuckleScript")
1+
let () = Js.log("Hello, ReScript")

jscomp/build_tests/case2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"license": "MIT",
1313
"devDependencies": {

jscomp/build_tests/case2/src/X.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
let () = Js.log("Hello, BuckleScript")
1+
let () = Js.log("Hello, ReScript")

jscomp/build_tests/case3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/build_tests/custom_namespace/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"license": "MIT",
1313
"devDependencies": {

jscomp/build_tests/cycle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/build_tests/devonly/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/build_tests/duplicated_symlinked_packages/a/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"clean": "rescript clean"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/build_tests/duplicated_symlinked_packages/b/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"clean": "rescript clean"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/build_tests/duplicated_symlinked_packages/c/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"clean": "rescript clean"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/build_tests/duplicated_symlinked_packages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"license": "MIT",
1313
"devDependencies": {

jscomp/build_tests/exports/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"license": "MIT",
1313
"devDependencies": {

jscomp/build_tests/hyphen2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"license": "MIT",
1313
"devDependencies": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
let () = Js.log("Hello, BuckleScript")
1+
let () = Js.log("Hello, ReScript")

jscomp/build_tests/install/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"watch": "rescript build -w"
99
},
1010
"keywords": [
11-
"BuckleScript"
11+
"ReScript"
1212
],
1313
"author": "",
1414
"license": "MIT",

jscomp/build_tests/nested/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"license": "MIT",
1313
"devDependencies": {

jscomp/build_tests/nnest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"license": "MIT",
1313
"devDependencies": {

jscomp/build_tests/ns/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"license": "MIT",
1313
"devDependencies": {

jscomp/build_tests/post-build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
let () = Js.log("Hello, BuckleScript")
1+
let () = Js.log("Hello, ReScript")

jscomp/build_tests/react_ppx/src/gpr_3987_test.bs.js

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jscomp/build_tests/react_ppx/src/gpr_3987_test.res

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,29 @@ let makeContainer = text => {
2323
}
2424

2525
/* This uncurried prop definition compiles */
26-
module BuckleScript3987ReproOk = {
26+
module Gpr3987ReproOk = {
2727
let makeProps = (~value: string, ~onChange: (. string, int) => unit, ()) =>
2828
{"value": value, "onChange": onChange}
2929

3030
let make = (_props: {"value": string, "onChange": (. string, int) => unit}) => React.null
3131
}
3232

33-
let _ = <BuckleScript3987ReproOk value="test" onChange={(. _, _) => ()} />
33+
let _ = <Gpr3987ReproOk value="test" onChange={(. _, _) => ()} />
3434

3535
/* Extracted type for the uncurried prop compiles as well */
36-
module BuckleScript3987ReproOk2 = {
36+
module Gpr3987ReproOk2 = {
3737
type onChange = (. string, int) => unit
3838

3939
@react.component
4040
let make = (~value as _, ~onChange as _: onChange) => React.null
4141
}
4242

43-
let _ = <BuckleScript3987ReproOk2 value="test" onChange={(. _, _) => ()} />
43+
let _ = <Gpr3987ReproOk2 value="test" onChange={(. _, _) => ()} />
4444

4545
/* Inline uncurried prop type causes an error */
46-
module BuckleScript3987ReproError = {
46+
module Gpr3987ReproError = {
4747
@react.component
4848
let make = (~value as _: string, ~onChange as _: (. string, int) => unit) => React.null
4949
}
5050

51-
let _ = <BuckleScript3987ReproError value="test" onChange={(. _, _) => ()} />
51+
let _ = <Gpr3987ReproError value="test" onChange={(. _, _) => ()} />

jscomp/build_tests/rerror/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Basic Reason Template
22

3-
Hello! This project allows you to quickly get started with Reason and BuckleScript. If you wanted a more sophisticated version, try the `react` template (`rescript -theme react -init .`).
3+
Hello! This project allows you to quickly get started with ReScript. If you wanted a more sophisticated version, try the `react` template (`rescript -theme react -init .`).
44

55
# Build
66
```
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
// This is the configuration file used by BuckleScript's build system rescript. Its documentation lives here: http://bucklescript.github.io/bucklescript/docson/#build-schema.json
2-
// BuckleScript comes with its own parser for bsconfig.json, which is normal JSON, with the extra support of comments and trailing commas.
31
{
42
"name": "rerror",
53
"version": "0.1.0",
64
"sources": [
75
"src"
86
],
97
"bs-dependencies" : [
10-
// add your dependencies here. You'd usually install them normally through `npm install my-dependency`. If my-dependency has a bsconfig.json too, then everything will work seamlessly.
118
]
129
}

jscomp/build_tests/rerror/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"license": "MIT",
1313
"devDependencies": {

jscomp/build_tests/unicode/.merlin

Lines changed: 0 additions & 12 deletions
This file was deleted.

jscomp/build_tests/weird_deps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
let () = Js.log("Hello, BuckleScript")
1+
let () = Js.log("Hello, ReScript")

jscomp/build_tests/weird_devdeps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
let () = Js.log("Hello, BuckleScript")
1+
let () = Js.log("Hello, ReScript")

jscomp/build_tests/weird_names/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/build_tests/x-y/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"license": "MIT",
1313
"devDependencies": {

jscomp/build_tests/x-y/x-src/demo.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
let () = Js.log("Hello, BuckleScript")
1+
let () = Js.log("Hello, ReScript")

jscomp/build_tests/zerocycle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "rescript build -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/ext/ext_path.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ let split_by_sep_per_os : string -> string list =
4343

4444
(** example
4545
{[
46-
"/bb/mbigc/mbig2899/bgit/bucklescript/jscomp/stdlib/external/pervasives.cmj"
47-
"/bb/mbigc/mbig2899/bgit/bucklescript/jscomp/stdlib/ocaml_array.ml"
46+
"/bb/mbigc/mbig2899/bgit/rescript/jscomp/stdlib/external/pervasives.cmj"
47+
"/bb/mbigc/mbig2899/bgit/rescript/jscomp/stdlib/ocaml_array.ml"
4848
]}
4949
5050
The other way
5151
{[
5252
53-
"/bb/mbigc/mbig2899/bgit/bucklescript/jscomp/stdlib/ocaml_array.ml"
54-
"/bb/mbigc/mbig2899/bgit/bucklescript/jscomp/stdlib/external/pervasives.cmj"
53+
"/bb/mbigc/mbig2899/bgit/rescript/jscomp/stdlib/ocaml_array.ml"
54+
"/bb/mbigc/mbig2899/bgit/rescript/jscomp/stdlib/external/pervasives.cmj"
5555
]}
5656
{[
57-
"/bb/mbigc/mbig2899/bgit/bucklescript/jscomp/stdlib//ocaml_array.ml"
57+
"/bb/mbigc/mbig2899/bgit/rescript/jscomp/stdlib//ocaml_array.ml"
5858
]}
5959
{[
6060
/a/b

0 commit comments

Comments
 (0)