-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add toplevel helpers #10
Comments
Quite a few things were added by 7999680 and cccc541. Documented here. A few things that need to be solved.
A few things that need to be improved:
|
Thanks to Jeremie Dimino (@diml) for a few hints.
Dependency search and topological sort were done with different dependency functions on the cmo objects leading to inconsistent resolution maps.
@Drup suggested that since 4.04 it is possible to hook into the Unfortunately this API is not generally available in A prototype implementation of this is to simply call > utop-full -init /dev/null # prevent loading of odig.top otherwise ocamlcommon.cma get loaded
# #require "odig" (* We are using ocamlfind because odig.top was not read *)
# let () =
let load = !Env.Persistent_signature.load in
Env.Persistent_signature.load := (fun ~unit_name -> Odig.load unit_name; load ~unit_name) This does however currently interfere badly with
More generally it would also maybe good to try to separate/relayer the compilation object indexing from the larger odig infrastructure which pulls a bit too much deps into the toplevel. |
To be precise |
According to Jérémie there's currently no good way of detecting this. |
|
Related to #9.
The text was updated successfully, but these errors were encountered: