Le 23/11/2012 19:04, Stéphane Ducasse a écrit :
thierry
we will publish this offer. Now did you look at dave mason work on C header parsing.
Hi Stef, no I haven't but I can have a look if you had any pointer. I started doing C parsing out of Lex/Yacc and studying C implementations (pcc, gcc before 4.0, gcc 4+, CLANG/LLVM) and ocaml (CIL, Frama-C) (looked a bit at ANTLR as well). After a few years of C/Flex/Bison, I moved to Pharo/SMACC. One of my C-based parser has been modified for use in the toolchain of Kalray (http://www.kalray.eu/products/mppa-accesscore/). Thierry
Stef
On Nov 22, 2012, at 3:42 PM, Goubier Thierry wrote:
Hi all,
I'm looking for some help in parsing C files (and the opportunity to use Petit Parser (Parseur?)) so I'm looking for an internship candidate (Master level).
The objective is to do a C preprocessor with a targeted integration in an existing C parser, and, in particular, provide high-level information about applied macros/defines for the tokens provided to the C parser itself. Platform should be Pharo (2.0:)).
Place is Saclay, SW of Paris. The lab has a strong team on compilation tool chains for embedded manycores, from programming language design down to micro-kernel and mapping, and is able to select good interns for further work opportunities.
http://www.cea.fr/ressources-humaines/stages-et-formation-en-alternance/les-...
Regards,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95