Skip to content

Commit

Permalink
[S] Add Shape module with terms definitions and utility functions
Browse files Browse the repository at this point in the history
+ Move Uid and Sig_component_kind to Shape
+ Update bootstrap because Types changed

Co-authored-by: Thomas Refis <thomas.refis@gmail.com>
  • Loading branch information
voodoos and trefis committed Nov 8, 2021
1 parent 6c2fb7b commit 98f040f
Show file tree
Hide file tree
Showing 11 changed files with 525 additions and 99 deletions.
25 changes: 22 additions & 3 deletions .depend
Expand Up @@ -1154,6 +1154,22 @@ typing/rec_check.cmx : \
typing/rec_check.cmi : \
typing/typedtree.cmi \
typing/ident.cmi
typing/shape.cmo : \
typing/path.cmi \
utils/misc.cmi \
utils/identifiable.cmi \
typing/ident.cmi \
typing/shape.cmi
typing/shape.cmx : \
typing/path.cmx \
utils/misc.cmx \
utils/identifiable.cmx \
typing/ident.cmx \
typing/shape.cmi
typing/shape.cmi : \
typing/path.cmi \
utils/identifiable.cmi \
typing/ident.cmi
typing/signature_group.cmo : \
typing/types.cmi \
typing/ident.cmi \
Expand Down Expand Up @@ -1630,6 +1646,7 @@ typing/typemod.cmo : \
typing/typeclass.cmi \
typing/subst.cmi \
typing/signature_group.cmi \
typing/shape.cmi \
typing/printtyp.cmi \
typing/path.cmi \
parsing/parsetree.cmi \
Expand Down Expand Up @@ -1664,6 +1681,7 @@ typing/typemod.cmx : \
typing/typeclass.cmx \
typing/subst.cmx \
typing/signature_group.cmx \
typing/shape.cmx \
typing/printtyp.cmx \
typing/path.cmx \
parsing/parsetree.cmi \
Expand Down Expand Up @@ -1692,6 +1710,7 @@ typing/typemod.cmi : \
typing/types.cmi \
typing/typedtree.cmi \
typing/typedecl.cmi \
typing/shape.cmi \
typing/path.cmi \
parsing/parsetree.cmi \
parsing/longident.cmi \
Expand Down Expand Up @@ -1738,40 +1757,40 @@ typing/typeopt.cmi : \
typing/env.cmi
typing/types.cmo : \
typing/type_immediacy.cmi \
typing/shape.cmi \
typing/primitive.cmi \
typing/path.cmi \
parsing/parsetree.cmi \
utils/misc.cmi \
parsing/longident.cmi \
parsing/location.cmi \
utils/local_store.cmi \
utils/identifiable.cmi \
typing/ident.cmi \
utils/config.cmi \
parsing/asttypes.cmi \
typing/types.cmi
typing/types.cmx : \
typing/type_immediacy.cmx \
typing/shape.cmx \
typing/primitive.cmx \
typing/path.cmx \
parsing/parsetree.cmi \
utils/misc.cmx \
parsing/longident.cmx \
parsing/location.cmx \
utils/local_store.cmx \
utils/identifiable.cmx \
typing/ident.cmx \
utils/config.cmx \
parsing/asttypes.cmi \
typing/types.cmi
typing/types.cmi : \
typing/type_immediacy.cmi \
typing/shape.cmi \
typing/primitive.cmi \
typing/path.cmi \
parsing/parsetree.cmi \
parsing/longident.cmi \
parsing/location.cmi \
utils/identifiable.cmi \
typing/ident.cmi \
parsing/asttypes.cmi
typing/typetexp.cmo : \
Expand Down
Binary file modified boot/ocamlc
Binary file not shown.
Binary file modified boot/ocamllex
Binary file not shown.
1 change: 1 addition & 0 deletions compilerlibs/Makefile.compilerlibs
Expand Up @@ -76,6 +76,7 @@ TYPING = \
typing/path.cmo \
typing/primitive.cmo \
typing/type_immediacy.cmo \
typing/shape.cmo \
typing/types.cmo \
typing/btype.cmo \
typing/oprint.cmo \
Expand Down
2 changes: 1 addition & 1 deletion dune
Expand Up @@ -55,7 +55,7 @@
asttypes parsetree

;; TYPING
ident path primitive types btype oprint subst predef datarepr
ident path primitive shape types btype oprint subst predef datarepr
cmi_format persistent_env env type_immediacy errortrace
typedtree printtyped ctype printtyp includeclass mtype envaux includecore
tast_iterator tast_mapper signature_group cmt_format untypeast
Expand Down
1 change: 1 addition & 0 deletions otherlibs/dynlink/Makefile
Expand Up @@ -100,6 +100,7 @@ COMPILERLIBS_SOURCES=\
typing/path.ml \
typing/primitive.ml \
typing/type_immediacy.ml \
typing/shape.ml \
typing/types.ml \
typing/btype.ml \
typing/subst.ml \
Expand Down

0 comments on commit 98f040f

Please sign in to comment.