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, Thierry Martinez <Thierry.Martinez@inria.fr>
Subject: Re: [cocci] How does Coccinelle call a script language from OCaml?
Date: Mon, 21 Mar 2022 20:05:16 +0100	[thread overview]
Message-ID: <82e3a75b-3749-e07f-0cd3-578624883f1b@web.de> (raw)
In-Reply-To: <ac59aaae-6e1d-a5e6-e568-2049dc961f93@ewheeler.net>

> I'm curious how easy it would be to add Perl,


Corresponding development efforts depend on the level of system integration
that you would like to achieve.



> since that is my most comfortable scripting language.


Two scripting languages are directly supported by the Coccinelle software.

Various other programs can additionally be called according to your data processing needs,
can't they?
https://ocaml.org/api/Sys.html#VALcommand
https://docs.python.org/3/library/subprocess.html#popen-constructor

Regards,
Markus

      parent reply	other threads:[~2022-03-21 19:05 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
2022-03-21 19:05 ` Markus Elfring [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=82e3a75b-3749-e07f-0cd3-578624883f1b@web.de \
    --to=markus.elfring@web.de \
    --cc=Thierry.Martinez@inria.fr \
    --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.