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

Investigate ocaml-migrate-parsetree #14

Open
IgnoredAmbience opened this issue Nov 14, 2017 · 1 comment
Open

Investigate ocaml-migrate-parsetree #14

IgnoredAmbience opened this issue Nov 14, 2017 · 1 comment
Labels
feature future work generator Issues with the ocaml to js generator and ppx extensions

Comments

@IgnoredAmbience
Copy link
Member

IgnoredAmbience commented Nov 14, 2017

https://github.com/ocaml-ppx/ocaml-migrate-parsetree is a tool to enable ocaml tools to be more version independent of the ocaml compiler's ast structure. This would be ideal to integrate with our project.

@IgnoredAmbience
Copy link
Member Author

We directly import use Typedtree (and other compiler internals) in js_of_ast.ml.

ocaml-migrate-parsetree is only capable of migrating Parsetrees and related types between compiler versions, it is therefore unlikely to be useful for migrating the main generator code. It may still be useful for our ppx rewriters.

@IgnoredAmbience IgnoredAmbience added future work generator Issues with the ocaml to js generator and ppx extensions feature labels Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature future work generator Issues with the ocaml to js generator and ppx extensions
Projects
None yet
Development

No branches or pull requests

1 participant