You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 5940 Reporter:@bobzhang Assigned to:@bobzhang Status: closed (set by @xavierleroy on 2015-12-11T18:18:53Z) Resolution: fixed Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general) Monitored by:@gasche
Bug description
I just take a look at how Fan depends on the compiler library today, and find that the dependency is quite minimal, but with a bit clean up in the compiler library, maybe it could remove the dependency on the compiler library.
Dependency on the compiler related:
Config.ast_intf_magic_number
Config.ast_intf_magic_number
(* suggestions: move them to Sys library*)
parsetree.mli
location.mli
longident.mli
(* suggestion:
location.ml and longident.ml may be could be removed following the same convention as parseetree.mli
and then distributed with the standard library
*)
typedtree.mli
types.mli
cmi_format.ml
(*
These are advanced features provided by Fan, so maybe it is acceptable to linking with the compiler
*)
Thanks
The text was updated successfully, but these errors were encountered:
I plan to change function print_config in utils/config.mlp and config.mlbuild to print the magic number so that we could get rid of the linking dependency on compiler-libs for Fan.
Since the change is modest, if nobody opposes, I would do it later
Original bug ID: 5940
Reporter: @bobzhang
Assigned to: @bobzhang
Status: closed (set by @xavierleroy on 2015-12-11T18:18:53Z)
Resolution: fixed
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @gasche
Bug description
I just take a look at how Fan depends on the compiler library today, and find that the dependency is quite minimal, but with a bit clean up in the compiler library, maybe it could remove the dependency on the compiler library.
Dependency on the compiler related:
Config.ast_intf_magic_number
Config.ast_intf_magic_number
(* suggestions: move them to Sys library*)
parsetree.mli
location.mli
longident.mli
(* suggestion:
location.ml and longident.ml may be could be removed following the same convention as parseetree.mli
and then distributed with the standard library
*)
typedtree.mli
types.mli
cmi_format.ml
(*
These are advanced features provided by Fan, so maybe it is acceptable to linking with the compiler
*)
Thanks
The text was updated successfully, but these errors were encountered: