Coccinelle Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] Cooperation with OCaml batteries?
@ 2014-03-17 21:40 SF Markus Elfring
  2014-03-17 21:45 ` Julia Lawall
  0 siblings, 1 reply; 3+ messages in thread
From: SF Markus Elfring @ 2014-03-17 21:40 UTC (permalink / raw)
  To: cocci

Hello,

Did you try out the reuse of any modules from the library "OCaml Batteries
included" for the script development in semantic patches?
http://batteries.forge.ocamlcore.org/

Would you like to help in resolving any corresponding system configuration
challenges for such software?

Regards,
Markus

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Cocci] Cooperation with OCaml batteries?
  2014-03-17 21:40 [Cocci] Cooperation with OCaml batteries? SF Markus Elfring
@ 2014-03-17 21:45 ` Julia Lawall
  2014-03-17 21:51   ` SF Markus Elfring
  0 siblings, 1 reply; 3+ messages in thread
From: Julia Lawall @ 2014-03-17 21:45 UTC (permalink / raw)
  To: cocci

On Mon, 17 Mar 2014, SF Markus Elfring wrote:

> Hello,
>
> Did you try out the reuse of any modules from the library "OCaml Batteries
> included" for the script development in semantic patches?
> http://batteries.forge.ocamlcore.org/
>
> Would you like to help in resolving any corresponding system configuration
> challenges for such software?

No, I personally would not.  If you make an effort in this direction, you
could contribute patches.

julia

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Cocci] Cooperation with OCaml batteries?
  2014-03-17 21:45 ` Julia Lawall
@ 2014-03-17 21:51   ` SF Markus Elfring
  0 siblings, 0 replies; 3+ messages in thread
From: SF Markus Elfring @ 2014-03-17 21:51 UTC (permalink / raw)
  To: cocci

>> Would you like to help in resolving any corresponding system configuration
>> challenges for such software?
> 
> No, I personally would not.

Thanks for your quick feedback.


> If you make an effort in this direction, you could contribute patches.

I have tried out a small SmPL script which contains the expression "open
Batteries" besides others which might become more interesting.

elfring at Sonne:~/Projekte/Coccinelle/janitor> spatch --sp-file
list_file_name_lengths2.cocci ../Probe/f-ptr-test1.c
init_defs_builtins: /usr/local/share/coccinelle/standard.h
Using native version of ocamlc/ocamlopt/ocamldep
Extra OCaml packages used in the semantic patch: batteries
ocamlopt.opt -shared -o /tmp/list_file_name_lengths2ce667d.cmxs -g -I
/usr/lib64/ocaml -I /home/elfring/.opam/system/lib/batteries -I
/usr/local/share/coccinelle/ocaml /tmp/list_file_name_lengths2ce667d.ml
Compilation OK!
Loading /home/elfring/.opam/system/lib/batteries/batteries.cmxs...
error loading shared library:
/home/elfring/.opam/system/lib/batteries/batteries.cmxs: undefined symbol: camlLazy
Fatal error: exception
Yes_prepare_ocamlcocci.LinkFailure("/home/elfring/.opam/system/lib/batteries/batteries.cmxs")


Regards,
Markus

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-17 21:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-17 21:40 [Cocci] Cooperation with OCaml batteries? SF Markus Elfring
2014-03-17 21:45 ` Julia Lawall
2014-03-17 21:51   ` SF Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox