OCaml console improvements
A few things that could be improved in the OCaml console
- [ ] Error reporting highlighting (note that
#usedoes a good job at this as per built-in toplevel support) - [ ] WYSWYG history management
- [ ] Completion (upstream ?)
- [ ] Toplevel printer story (this should likely be solved upstream)
- [ ] A worfklow for app specific toplevel init ?
- [ ] See if we can extend
#useto act over URLs.
What is the toplevel printer story ? By completion, you mean completion in the ocaml top loop ?
Note when I meant upstream, I meant upstream in ocaml not in js_of_ocaml.
In general I think we are not well served by the toploop APIs upstream and that's where most of the improvements should go. Since it then benefits a whole range of derived projects.
What is the toplevel printer story ?
Implementing this attribute scheme in ocaml for automatically installing toplevel printers.
By completion, you mean completion in the ocaml top loop ?
Yes. E.g. a trie on the ids of loaded cmis, or maybe even try to summon merlin at some point. I'd also be interested in having something for that in down, see here.
Thanks for the clarification