-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: move `melange.belt` out of `jscomp/others` * wip * tweak test * add dep? * fix build
- Loading branch information
1 parent
0f1a7a7
commit 61c0243
Showing
72 changed files
with
216 additions
and
226 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,204 @@ | ||
(library | ||
(name belt) | ||
(public_name melange.belt) | ||
(modes melange) | ||
(preprocess | ||
(pps melange.ppx -unsafe)) | ||
(libraries melange) | ||
(melange.compile_flags | ||
-mel-no-check-div-by-zero | ||
-mel-cross-module-opt | ||
-unsafe)) | ||
|
||
(rule | ||
(target belt_HashSetString.ml) | ||
(deps hashset.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_HashSetString.mli) | ||
(deps hashset.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_HashSetInt.ml) | ||
(deps hashset.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_HashSetInt.mli) | ||
(deps hashset.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_HashMapString.ml) | ||
(deps hashmap.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_HashMapString.mli) | ||
(deps hashmap.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_HashMapInt.ml) | ||
(deps hashmap.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_HashMapInt.mli) | ||
(deps hashmap.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MapString.ml) | ||
(deps map.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MapString.mli) | ||
(deps map.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MapInt.ml) | ||
(deps map.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MapInt.mli) | ||
(deps map.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_SetString.ml) | ||
(deps belt_Set.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_SetString.mli) | ||
(deps belt_Set.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_SetInt.ml) | ||
(deps belt_Set.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_SetInt.mli) | ||
(deps belt_Set.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MutableMapString.ml) | ||
(deps mapm.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MutableMapString.mli) | ||
(deps mapm.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MutableMapInt.ml) | ||
(deps mapm.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MutableMapInt.mli) | ||
(deps mapm.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MutableSetString.ml) | ||
(deps setm.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MutableSetString.mli) | ||
(deps setm.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MutableSetInt.ml) | ||
(deps setm.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_MutableSetInt.mli) | ||
(deps setm.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_SortArrayString.ml) | ||
(deps sort.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_SortArrayString.mli) | ||
(deps sort.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_SortArrayInt.ml) | ||
(deps sort.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_SortArrayInt.mli) | ||
(deps sort.cppo.mli) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_internalMapString.ml) | ||
(deps internal_map.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_internalMapInt.ml) | ||
(deps internal_map.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_internalSetString.ml) | ||
(deps internal_set.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_STRING %{deps} -o %{target}))) | ||
|
||
(rule | ||
(target belt_internalSetInt.ml) | ||
(deps internal_set.cppo.ml) | ||
(action | ||
(run cppo -D TYPE_INT %{deps} -o %{target}))) | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.