Turns out that Language.C uses alex and happy. I'm looking to use Parsec.
So back to the original question: Does anyone know of a C or java parser written using Parsec? - Roy On Thu, Jul 16, 2009 at 12:43 PM, Roy Lowrance<[email protected]> wrote: > Thanks Rick. A perfect tip! - Roy > > On Thu, Jul 16, 2009 at 12:29 PM, Rick R<[email protected]> wrote: >> There is language.c >> >> http://www.sivity.net/projects/language.c/ >> http://hackage.haskell.org/package/language-c >> >> >> From a parsing standpoint, C++ is a massive departure from C. Good luck >> though. >> >> >> On Thu, Jul 16, 2009 at 12:25 PM, Roy Lowrance <[email protected]> >> wrote: >>> >>> I am working on a research language that is a variant of C. I'd like >>> to use Parsec as the parser. >>> >>> Is there an existing Parsec parser for C or C++ (or Java) that could >>> serve as a starting point? >>> >>> Thanks, Roy >>> _______________________________________________ >>> Haskell-Cafe mailing list >>> [email protected] >>> http://www.haskell.org/mailman/listinfo/haskell-cafe >> >> >> >> -- >> "The greatest obstacle to discovering the shape of the earth, the >> continents, and the oceans was not ignorance but the illusion of knowledge." >> - Daniel J. Boorstin >> >> > > > > -- > Roy Lowrance > home: 212 674 9777 > mobile: 347 255 2544 > -- Roy Lowrance home: 212 674 9777 mobile: 347 255 2544 _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
