Nathan Rebours

Results 39 issues of Nathan Rebours

The latest cppo release uses the github generated tarballs which are known to be unstable as they get regenerated from time to time, making the upstream opam-repository hash obsolete. It's...

Fixes #461 This PR adds a new command line flag that tells the driver not to write to the output file if there is no rewriting to be done. It's...

Starting from 5.2 we won't be able to read `[@@@ocaml.ppx.context ...]` attributes from older versions. This prevents users to run the driver on binary ASTs from older versions if the...

bug

## Context I've been working on allowing dune to use ppx in the past few months. If you want detailed context you can take a look at the [original issue](https://github.com/ocaml/dune/issues/8586),...

We can't force every ppx author to catch all exceptions and properly produce `ocaml.error` extension points but when we catch the exceptions that slip through we should produce an error...

As discussed here: https://github.com/ocaml-ppx/ppx/pull/33#discussion_r363812808, we want to support the following: ```ocaml match%view x with | {A.a; b} -> f a b ``` and translate it to calls to `A.a'match` and...

This replaces uses of `Location.raise_errorf` by generating an `ocaml.error` extension node and inserting it into the generated AST. This allows the ppx to process all extension nodes and to produce...

Embedding errors directly into the AST using the special `[%ocaml.error "Some error msg"]` is the preferred way of reporting errors in ppxlib based ppx-es so it would be nice to...

good first issue

When writing an ocaml code block in odoc markup that itself contains an odoc code block, the first end of block delimiter is interpreted as closing the encompassing block. For...

parser
stale
enhancement