Skip to content
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

Starting ocaml with additional parameters #41

Open
ysalmon opened this issue Jun 2, 2016 · 1 comment
Open

Starting ocaml with additional parameters #41

ysalmon opened this issue Jun 2, 2016 · 1 comment

Comments

@ysalmon
Copy link

ysalmon commented Jun 2, 2016

How can I configure the iocaml kernel to start the underlying ocaml toplevel with additional parameters ?

I just managed to run jupyter with iocaml-kernel with Arthur Charguéraud compiler 4.02.0+improved-errors (https://github.com/charguer/ocaml) , but I need to pass it the -easy command line parameter to get the enhanced error messages.

@andrewray
Copy link
Owner

iocaml doesnt parse toplevel options, so you will need to compile a custom version. For reference I did exactly this for iocamljs a while back;

andrewray/iocamljs@70c72d7

Not sure exactly what options you will need for the latest version, but it'll be something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants