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

Another fix for #97: Ast_4NN.register reads and writes current AST #99

Closed

Conversation

thierry-martinez
Copy link

As @gasche explained in #97 (comment), there is two possible semantics for Ast_4NN.register.

(1) register a 4NN-rewriter in such a way that it works on current serialized ASTs

(2) register a 4NN-rewriter in such a way that it works on serialized ASTs for OCaml 4NN

This pull-request implements (1) whereas #98 implements (2).

…rent AST

As Gabriel Scherer explained in
ocaml-ppx#97 (comment)
there is two possible semantics for `Ast_4NN.register`.

(1) register a 4NN-rewriter in such a way that it works on _current_ serialized ASTs

(2) register a 4NN-rewriter in such a way that it works on serialized ASTs for OCaml 4NN

This commit implements (1) whereas
ocaml-ppx#98
implements (2).
@ghost
Copy link

ghost commented May 28, 2020

As mentioned in #98, I'm going to remote these register functions.

@ghost ghost closed this May 28, 2020
This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant