-
Notifications
You must be signed in to change notification settings - Fork 197
Syntax: synchronize ppx and camlp4 #344
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
Conversation
|
Oh, nice. Give me tomorrow to review. |
|
I've used https://github.com/janestreet/camlp4-to-ppx to perform automatic conversion and make sure the two syntax where equivalent. |
|
This seems good to me. Do you have an example of bug caused by the non-defined ordering (both in OCaml and in jsoo's ppx prior to this patch) ? |
|
The undefined ordering only affect side effects aka identifier generation. |
Syntax: synchronize ppx and camlp4
|
Undefined map ordering is typically an issue when people implement |
|
@hhugo You used |
|
fixed On Thu, Jul 23, 2015 at 2:32 PM, Gabriel Radanne notifications@github.com
|
|
see janestreet/camlp4-to-ppx@d2b55dc for automatic rewrite to ppx |
the two syntax now generate the same OCaml code (modulo http://caml.inria.fr/mantis/view.php?id=6936)