Skip to content

Make ppx_metaquot a source-level utility #45

@bobzhang

Description

@bobzhang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions