All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Eric Wheeler <cocci@lists.ewheeler.net>
Cc: cocci@inria.fr
Subject: Re: [cocci] How does Coccinelle call a script language from OCaml?
Date: Mon, 21 Mar 2022 19:39:41 +0100	[thread overview]
Message-ID: <aa0bc462-3e58-e5f5-4039-06e66a790746@web.de> (raw)
In-Reply-To: <ac59aaae-6e1d-a5e6-e568-2049dc961f93@ewheeler.net>

> I'm curious how easy it would be to add Perl, since that is my most
> comfortable scripting language.


There are only a few hints available.

https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/20fdb67f4b20a242f222337e13091115884cf6bb/docs/manual/cocci_syntax.tex#L686
https://github.com/coccinelle/coccinelle/blob/ae337fce1512ff15aabc3ad5b6d2e537f97ab62a/docs/manual/cocci_syntax.tex#L686



> What source file(s) handle the script invocation?


Would you get further development ideas from another file?

https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/248a2742e76ceab620d67967a537fc5cb9282405/configure.ac#L278
https://github.com/coccinelle/coccinelle/blob/7cc8d6453a2f92ac13f458bcb496a17c79dafeaa/configure.ac#L278

Regards,
Markus


  parent reply	other threads:[~2022-03-21 18:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-21 17:46 [cocci] How does Coccinelle call a script language from OCaml? Eric Wheeler
2022-03-21 18:30 ` Julia Lawall
2022-03-21 18:39 ` Markus Elfring [this message]
2022-03-21 19:05 ` Markus Elfring

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=aa0bc462-3e58-e5f5-4039-06e66a790746@web.de \
    --to=markus.elfring@web.de \
    --cc=cocci@inria.fr \
    --cc=cocci@lists.ewheeler.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.