Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Replacing the CIL parser thru a plugin?


  • Subject: [Frama-c-discuss] Replacing the CIL parser thru a plugin?
  • From: basile at starynkevitch.net (Basile Starynkevitch)
  • Date: Wed, 8 Feb 2012 13:41:34 +0100

Hello List,

Can a Frama-C plugin replace the enhanced CIL parser?

Imagine I have some intermediate representation of C-like or Fortran-like
souece code, in e.g. some JSON or YAML file -in a format I can define and
enhance, which is produced by some generator-, and I want to code in Ocaml a
plugin to construct in Frama-C's memory a representation of it, probably by
calling suitable constructors from cil/src/cil_types.mli, how should I
proceed?

Thanks.

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***