[Pharo-project] Looking for a C parser
Hi all, I'm looking for a C parser (header files would be enough) to get an AST. I found the "CAnalyzer" project on squeaksource but tests are not green and it seems to be tight with an XML generator. Is there another projectt? something on the top of PetitParser? Thanks, #Luc
Arg, I will check CAnalyzer. Parsing C is difficult. We use srcML to tranform C code into xml files, way easier to load. Cheers, Alexandre
Hi all,
I'm looking for a C parser (header files would be enough) to get an AST. I found the "CAnalyzer" project on squeaksource but tests are not green and it seems to be tight with an XML generator.
Is there another projectt? something on the top of PetitParser?
Thanks,
#Luc _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hello Luc, There is also a SmaCC project available on SqueakSource (http://www.squeaksource.com/SmaccDevelopment.html) On "Downloads" section of its original home page (http://www.refactoryworkers.com/SmaCC/Download.html) there is a C Parser mentioned, but I assume that it is available for VW/Dolphin only. Good luck! Dmitry -- View this message in context: http://forum.world.st/Looking-for-a-C-parser-tp2542509p2546068.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
participants (3)
-
alexandre@bergel.eu -
Dmitry Matveev -
Luc Fabresse