currently ppx_metaquot.ml is hard coded with Ast_mapper.run_main which makes it can not be reused as a library.
the only way to use ppx_metaquot is ocamlc.opt -ppx ppx_metaquot (it will imply type checking which is a bit annoying)
My use case is that I want to have a command line utilty to do pure source transformation,
so I can check in generated code without imposing dependencies to my users, are you interested in such use case? thanks
currently
ppx_metaquot.mlis hard coded withAst_mapper.run_mainwhich makes it can not be reused as a library.the only way to use
ppx_metaquotisocamlc.opt -ppx ppx_metaquot(it will imply type checking which is a bit annoying)My use case is that I want to have a command line utilty to do pure source transformation,
so I can check in generated code without imposing dependencies to my users, are you interested in such use case? thanks