-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add Reason flags --re-intf and --re-impl #74
Comments
Wouldn't that create circle deps between omp and reason? |
Right, I hadn't thought about that 😕 Is there a way to pipe the result of refmt, in ast or ml format, to the omp ppx executable? |
Note that you can pass both source files and ast files with |
@jchavarri could you describe your test framework? I'm wondering if it could be an inline test backend. |
@diml I have a basic config that reads an ml file and uses It's based on http://rgrinberg.com/posts/extension-points-3-years-later/. I know the setup is a bit dated, but the article helped me get up and running thanks to how specific and accessible it is. :) It seems inline tests support Reason syntax, is there some place with an example to write inline tests against a ppx? |
I'm working on a ppx where the test cases are written in Reason. Right now I have to manually run these test cases through refmt and write
.ml
files, that I feed to the omp driver with--impl
flag.But I'm curious if it'd be possible to add some new flags to omp for this?
My current Dune rule:
What would be ideal:
The text was updated successfully, but these errors were encountered: