You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a command to build custom rewriter using ocamlfind but I currently have some troubles making things work
The problem is that current approach relies on the fact that ppx plugin is built as findlib library. And if I'm developing syntax extension in my project and want to run some tests than I need to compile syntax extension and after that compile tests with adjusted OCAMLPATH variable. I tried to pass cmxa manually and remove dependency on findlib package but it seems that the order of cmxa's matters and only way to do every all right is to reference PPX package. With this approach there is also an issue with dependencies: tests should be recompiled when the package changes and this currently doesn't work as I want.
Can you give me a piece of advice without recommending switching to dune?
There is a command to build custom rewriter using
ocamlfind
but I currently have some troubles making things workThe problem is that current approach relies on the fact that ppx plugin is built as findlib library. And if I'm developing syntax extension in my project and want to run some tests than I need to compile syntax extension and after that compile tests with adjusted OCAMLPATH variable. I tried to pass
cmxa
manually and remove dependency on findlib package but it seems that the order ofcmxa
's matters and only way to do every all right is to reference PPX package. With this approach there is also an issue with dependencies: tests should be recompiled when the package changes and this currently doesn't work as I want.Can you give me a piece of advice without recommending switching to
dune
?P.S. This is a question mentioned in #18
The text was updated successfully, but these errors were encountered: