Skip to content

Commit a33666d

Browse files
committed
bigint
1 parent 7498b6d commit a33666d

File tree

9 files changed

+31
-9
lines changed

9 files changed

+31
-9
lines changed

jscomp/main/builtin_cmi_datasets.ml

Lines changed: 3 additions & 1 deletion
Large diffs are not rendered by default.

jscomp/main/builtin_cmj_datasets.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(* e13ae15a74d07d3b91d464ab4de21739 *)
1+
(* 6e8fa9bda550354d6b8f43ef8745d0ca *)
22
let module_names : string array = Obj.magic (
33
"Js" (* 23 *),
44
"Arg" (* 217 *),
@@ -55,6 +55,7 @@ let module_names : string array = Obj.magic (
5555
"Printexc" (* 94 *),
5656
"Belt_List" (* 1574 *),
5757
"Js_array2" (* 23 *),
58+
"Js_bigint" (* 23 *),
5859
"Js_global" (* 23 *),
5960
"Js_option" (* 391 *),
6061
"Js_result" (* 23 *),
@@ -181,6 +182,7 @@ let module_data : string array = Obj.magic (
181182
(* Printexc *)"\132\149\166\190\000\000\000J\000\000\000\022\000\000\000H\000\000\000C\160\192\176%catch\144\160\160B@@@\176%print\144\160\160B@@@\176)to_string\144\160\160A@@@\1760register_printer\144\160\160A@@@A",
182183
(* Belt_List *)"\132\149\166\190\000\000\006\018\000\000\001\203\000\000\005\239\000\000\005\141\160\b\000\001`\000\176\"eq\144\160\160C@@@\176#add\144\160\160B@@\144\148\192B\160\176\001\003\251\"xs@\160\176\001\003\252!x@@\151\176\176@\176\"::A@@\160\144\004\t\160\144\004\014@\176\1923others/belt_List.ml\000m\001\011:\001\011J\192\004\002\000m\001\011:\001\011Q@\192B@@@\176#cmp\144\160\160C@@@\176#eqU\144\160\160C@@@\176#get\144\160\160B@@@\176#has\144\160\160C@@@\176#map\144\160\160B@@@\176#zip\144\160\160B@@@\176$cmpU\144\160\160C@@@\176$drop\144\160\160B@@@\176$hasU\144\160\160C@@@\176$head\144\160\160A@@@\176$keep\144\160\160B@@@\176$make\144\160\160B@@@\176$mapU\144\160\160B@@@\176$size\144\160\160A@@@\176$some\144\160\160B@@@\176$sort\144\160\160B@@@\176$tail\144\160\160A@@@\176$take\144\160\160B@@@\176%every\144\160\160B@@@\176%getBy\144\160\160B@@@\176%keepU\144\160\160B@@@\176%some2\144\160\160C@@@\176%someU\144\160\160B@@@\176%sortU\144\160\160B@@@\176%unzip\144\160\160A@@@\176%zipBy\144\160\160C@@@\176&concat\144\160\160B@@@\176&every2\144\160\160C@@@\176&everyU\144\160\160B@@@\176&filter\144\004_@\176&getByU\144\160\160B@@@\176&getExn\144\160\160B@@@\176&length\144\004]@\176&makeBy\144\160\160B@@@\176&reduce\144\160\160C@@@\176&some2U\144\160\160C@@@\176&zipByU\144\160\160C@@@\176'every2U\144\160\160C@@@\176'flatten\144\160\160A@@@\176'forEach\144\160\160B@@@\176'headExn\144\160\160A@@@\176'keepMap\144\160\160B@@@\176'makeByU\144\160\160B@@@\176'reduce2\144\160\160D@@@\176'reduceU\144\160\160C@@@\176'reverse\144\160\160A@@@\176'shuffle\144\160\160A@@@\176'splitAt\144\160\160B@@@\176'tailExn\144\160\160A@@@\176'toArray\144\160\160A@@@\176(forEach2\144\160\160C@@@\176(forEachU\144\160\160B@@@\176(getAssoc\144\160\160C@@@\176(hasAssoc\144\160\160C@@@\176(keepMapU\144\160\160B@@@\176(reduce2U\144\160\160D@@@\176(setAssoc\144\160\160D@@@\176)forEach2U\144\160\160C@@@\176)fromArray\144\160\160A@@@\176)getAssocU\144\160\160C@@@\176)hasAssocU\144\160\160C@@@\176)partition\144\160\160B@@@\176)setAssocU\144\160\160D@@@\176*concatMany\144\160\160A@@@\176*mapReverse\144\160\160B@@@\176*partitionU\144\160\160B@@@\176+cmpByLength\144\160\160B@@@\176+mapReverse2\144\160\160C@@@\176+mapReverseU\144\160\160B@@@\176+removeAssoc\144\160\160C@@@\176,mapReverse2U\144\160\160C@@@\176,mapWithIndex\144\160\160B@@@\176,removeAssocU\144\160\160C@@@\176-keepWithIndex\144\160\160B@@@\176-mapWithIndexU\144\160\160B@@@\176-reduceReverse\144\160\160C@@@\176-reverseConcat\144\160\160B@@@\176.keepWithIndexU\144\160\160B@@@\176.reduceReverse2\144\160\160D@@@\176.reduceReverseU\144\160\160C@@@\176/filterWithIndex\144\004#@\176/reduceReverse2U\144\160\160D@@@\176/reduceWithIndex\144\160\160C@@@\1760forEachWithIndex\144\160\160B@@@\1760reduceWithIndexU\144\160\160C@@@\1761forEachWithIndexU\144\160\160B@@@A",
183184
(* Js_array2 *)"\132\149\166\190\000\000\000\003\000\000\000\001\000\000\000\003\000\000\000\003\160\128A",
185+
(* Js_bigint *)"\132\149\166\190\000\000\000\003\000\000\000\001\000\000\000\003\000\000\000\003\160\128A",
184186
(* Js_global *)"\132\149\166\190\000\000\000\003\000\000\000\001\000\000\000\003\000\000\000\003\160\128A",
185187
(* Js_option *)"\132\149\166\190\000\000\001s\000\000\000i\000\000\001_\000\000\001P\160\b\000\0000\000\176#map\144\160\160B@@@\176$some\144\160\160A@@\144\148\192A\160\176\001\003\236!x@@\151\176\000O\160\144\004\006@\176\1923others/js_option.mlg\001\005\251\001\006\b\192\004\002g\001\005\251\001\006\014@\192B@@@\176%equal\144\160\160C@@@\176&filter\144\160\160B@@@\176&getExn\144\160\160A@@@\176&isNone\144\160\160A@@\144\148\192A\160\176\001\004`%param@@\151\176G\160\151\176\000L\160\144\004\t@\176\192\004&\000G\001\t\246\001\t\250\192\004'\000G\001\t\246\001\t\254@@\004\003\192B@@@\176&isSome\144\160\160A@@\144\148\192A\160\176\001\003\239\004\022@@\151\176\000L\160\144\004\005@\176\192\0048n\001\006\134\001\006\138\192\0049n\001\006\134\001\006\142@\192B@@@\176'andThen\144\160\160B@@@\176'default\144\160\160B@@@\176)firstSome\144\160\160B@@@\176+isSomeValue\144\160\160C@@@\176.getWithDefault\144\004\015@A",
186188
(* Js_result *)"\132\149\166\190\000\000\000\003\000\000\000\001\000\000\000\003\000\000\000\003\160\128A",

jscomp/others/js_bigint.ml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(** JavaScript BigInt API *)
2+
3+
type t

jscomp/others/release.ninja

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ o others/node.cmj others/node.cmi : cc others/node.ml | $bsc others/js.cmi other
1919
o others/js_OO.cmi others/js_OO.cmj : cc others/js_OO.ml | others/belt_internals.cmi others/js.cmi $bsc
2020
o others/js_array.cmi others/js_array.cmj : cc others/js_array.ml | others/belt_internals.cmi others/js.cmi others/js_array2.cmj $bsc
2121
o others/js_array2.cmi others/js_array2.cmj : cc others/js_array2.ml | others/belt_internals.cmi others/js.cmi $bsc
22+
o others/js_bigint.cmi others/js_bigint.cmj : cc others/js_bigint.ml | others/belt_internals.cmi others/js.cmi $bsc
2223
o others/js_cast.cmj : cc_cmi others/js_cast.ml | others/belt_internals.cmi others/js.cmi others/js_cast.cmi $bsc
2324
o others/js_cast.cmi : cc others/js_cast.mli | others/belt_internals.cmi others/js.cmi $bsc
2425
o others/js_console.cmi others/js_console.cmj : cc others/js_console.ml | others/belt_internals.cmi others/js.cmi $bsc
@@ -58,7 +59,7 @@ o others/js_undefined.cmj : cc_cmi others/js_undefined.ml | others/belt_internal
5859
o others/js_undefined.cmi : cc others/js_undefined.mli | others/belt_internals.cmi others/js.cmi others/js.cmj $bsc
5960
o others/js_vector.cmj : cc_cmi others/js_vector.ml | others/belt_internals.cmi others/js.cmi others/js_array2.cmj others/js_vector.cmi $bsc
6061
o others/js_vector.cmi : cc others/js_vector.mli | others/belt_internals.cmi others/js.cmi $bsc
61-
o js_pkg : phony others/js_OO.cmi others/js_OO.cmj others/js_array.cmi others/js_array.cmj others/js_array2.cmi others/js_array2.cmj others/js_cast.cmi others/js_cast.cmj others/js_console.cmi others/js_console.cmj others/js_date.cmi others/js_date.cmj others/js_dict.cmi others/js_dict.cmj others/js_exn.cmi others/js_exn.cmj others/js_float.cmi others/js_float.cmj others/js_global.cmi others/js_global.cmj others/js_int.cmi others/js_int.cmj others/js_json.cmi others/js_json.cmj others/js_list.cmi others/js_list.cmj others/js_mapperRt.cmi others/js_mapperRt.cmj others/js_math.cmi others/js_math.cmj others/js_null.cmi others/js_null.cmj others/js_null_undefined.cmi others/js_null_undefined.cmj others/js_obj.cmi others/js_obj.cmj others/js_option.cmi others/js_option.cmj others/js_promise.cmi others/js_promise.cmj others/js_re.cmi others/js_re.cmj others/js_result.cmi others/js_result.cmj others/js_string.cmi others/js_string.cmj others/js_string2.cmi others/js_string2.cmj others/js_typed_array.cmi others/js_typed_array.cmj others/js_typed_array2.cmi others/js_typed_array2.cmj others/js_types.cmi others/js_types.cmj others/js_undefined.cmi others/js_undefined.cmj others/js_vector.cmi others/js_vector.cmj
62+
o js_pkg : phony others/js_OO.cmi others/js_OO.cmj others/js_array.cmi others/js_array.cmj others/js_array2.cmi others/js_array2.cmj others/js_bigint.cmi others/js_bigint.cmj others/js_cast.cmi others/js_cast.cmj others/js_console.cmi others/js_console.cmj others/js_date.cmi others/js_date.cmj others/js_dict.cmi others/js_dict.cmj others/js_exn.cmi others/js_exn.cmj others/js_float.cmi others/js_float.cmj others/js_global.cmi others/js_global.cmj others/js_int.cmi others/js_int.cmj others/js_json.cmi others/js_json.cmj others/js_list.cmi others/js_list.cmj others/js_mapperRt.cmi others/js_mapperRt.cmj others/js_math.cmi others/js_math.cmj others/js_null.cmi others/js_null.cmj others/js_null_undefined.cmi others/js_null_undefined.cmj others/js_obj.cmi others/js_obj.cmj others/js_option.cmi others/js_option.cmj others/js_promise.cmi others/js_promise.cmj others/js_re.cmi others/js_re.cmj others/js_result.cmi others/js_result.cmj others/js_string.cmi others/js_string.cmj others/js_string2.cmi others/js_string2.cmj others/js_typed_array.cmi others/js_typed_array.cmj others/js_typed_array2.cmi others/js_typed_array2.cmj others/js_types.cmi others/js_types.cmj others/js_undefined.cmi others/js_undefined.cmj others/js_vector.cmi others/js_vector.cmj
6263
o others/belt_Array.cmj : cc_cmi others/belt_Array.ml | others/belt.cmi others/belt_Array.cmi others/belt_internals.cmi others/js.cmi others/js.cmj others/js_math.cmj $bsc js_pkg
6364
o others/belt_Array.cmi : cc others/belt_Array.mli | others/belt.cmi others/belt_internals.cmi others/js.cmi others/js.cmj $bsc js_pkg
6465
o others/belt_Float.cmj : cc_cmi others/belt_Float.ml | others/belt.cmi others/belt_Float.cmi others/belt_internals.cmi others/js.cmi $bsc js_pkg

lib/4.06.1/unstable/js_compiler.ml

Lines changed: 6 additions & 2 deletions
Large diffs are not rendered by default.

lib/4.06.1/unstable/js_playground_compiler.ml

Lines changed: 6 additions & 2 deletions
Large diffs are not rendered by default.

lib/4.06.1/whole_compiler.ml

Lines changed: 6 additions & 2 deletions
Large diffs are not rendered by default.

lib/es6/js_bigint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

lib/js/js_bigint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

0 commit comments

Comments
 (0)