Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 520

Is there a ppxlib template repository somewhere? Should there be?

$
0
0

One hurdle to getting started with developing a ppx rewriter for use in another project seems to be that there’s little guidance in terms of how to turn it into an installable package (I’ve seen materials refer to dune, essentially saying that you must know dune before writing a ppx rewriter).

My impression is that a ppx-rewriter “skeleton”/template/“hello world” repository would be very useful to quickly get started tinkering with ppx rewriters. The repository would contain an installable ppxlib-based ppx rewriter that does something trivial (like emitting “hello world” for a given tag).

What do you think?

ETA: A few minutes after I posted, I find manual (ppxlib.manual) which seems to cover exactly what I was looking for. :person_shrugging: Regardless, coming from the perspective of someone who just quickly wants to write a PPX rewriter for practical use, I still feel it would be helpful to have a repo to clone and hack away. :thinking:

10 posts - 6 participants

Read full topic


Viewing all articles
Browse latest Browse all 520

Trending Articles