caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Frédéric Bour" <frederic.bour@lakaban.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Merlin: how to enable local ppx preprocessor?
Date: Thu, 9 Feb 2017 12:10:19 +0000	[thread overview]
Message-ID: <92c82e54-ec9f-6eb7-cc8c-e3cb22203e33@lakaban.net> (raw)
In-Reply-To: <CAGmVoG3w3ipogcAeGRHs_wVOXcMFNor8hdE4Rz6tKKQRWoOnww@mail.gmail.com>

Sorry, it is:

FLG -ppx path

It processes the line like normal compiler arguments.

On 09/02/2017 11:39, Kakadu wrote:
> The right solution is
>
> PLG -ppx path
>
> Thanks, Fred
>
> On Thu, Feb 9, 2017 at 11:35 AM, Kakadu <kakadu.hafanana@gmail.com> wrote:
>> Hey, folks
>>
>> I compile PPX preprocessors in the same source tree where I want to
>> use them. What should I add into .merlin file to enable them? The
>> default approach requires building preprocessors to ocamlfind package
>> and enabling this package. But I want something more simple like, for
>> example,
>>
>> PPX _build/ppx/asdf.native
>>
>> Happy hacking,
>> Kakadu


      reply	other threads:[~2017-02-09 12:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-09  8:35 Kakadu
2017-02-09 11:39 ` Kakadu
2017-02-09 12:10   ` Frédéric Bour [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92c82e54-ec9f-6eb7-cc8c-e3cb22203e33@lakaban.net \
    --to=frederic.bour@lakaban.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).