-
Notifications
You must be signed in to change notification settings - Fork 469
Support -pp in .merlin #1694
Copy link
Copy link
Closed
Milestone
Description
We'd like to support general preprocessors with merlin using the new -pp flag but dune's preprocessing is a bit too general to use this flag. Dune allows for any action to act as a preprocessor but it's not that simple to encode as a -pp argument. I see a few workarounds:
- Generate a shell script for a preprocessing action and use it as a
-ppargument - Generate and OCaml script for an action and use that as the
-ppargument - Create a general binary that will interpret dune actions. This action will be executed as the
-ppargument with the action serialized appropriately.
Anyone have any other suggestions? Or preferences for any of the options above?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels