* [Caml-list] Merlin: how to enable local ppx preprocessor?
@ 2017-02-09 8:35 Kakadu
2017-02-09 11:39 ` Kakadu
0 siblings, 1 reply; 3+ messages in thread
From: Kakadu @ 2017-02-09 8:35 UTC (permalink / raw)
To: Caml List
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] Merlin: how to enable local ppx preprocessor?
2017-02-09 8:35 [Caml-list] Merlin: how to enable local ppx preprocessor? Kakadu
@ 2017-02-09 11:39 ` Kakadu
2017-02-09 12:10 ` Frédéric Bour
0 siblings, 1 reply; 3+ messages in thread
From: Kakadu @ 2017-02-09 11:39 UTC (permalink / raw)
To: Caml List
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] Merlin: how to enable local ppx preprocessor?
2017-02-09 11:39 ` Kakadu
@ 2017-02-09 12:10 ` Frédéric Bour
0 siblings, 0 replies; 3+ messages in thread
From: Frédéric Bour @ 2017-02-09 12:10 UTC (permalink / raw)
To: caml-list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-09 12:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09 8:35 [Caml-list] Merlin: how to enable local ppx preprocessor? Kakadu
2017-02-09 11:39 ` Kakadu
2017-02-09 12:10 ` Frédéric Bour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox