Xref: utzoo gnu.gcc:1637 gnu.g++:870 comp.lang.scheme:1311 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!shelby!neon!neon.Stanford.EDU!ham From: ham@Neon.Stanford.EDU (Peter R. Ham) Newsgroups: gnu.gcc,gnu.g++,comp.lang.scheme Subject: protoize and parsing C and C++ headers to Scheme Message-ID: Date: 30 May 90 07:07:09 GMT Sender: news@Neon.Stanford.EDU (USENET News System) Distribution: gnu Organization: Stanford University Lines: 20 I'm considering writing a program that parsed C and C++ header files and maybe .c files and generated a Scheme description of them probably in Joel Bartlett's cdecl notation in order to facilitate producing interface code for foreign function calling interfaces from Scheme. Hopefully, this would help to automate the process. Is this similar to what Ron Guillmette's "protoize" program does using gcc and g++? Anybody thought of doing this? If I want to code in Scheme and interface to Scheme, maybe this would help without being to much work. I would like to try and make a Scheme->C interface to InterViews (C++ based UII toolkit) this way? Impossible? Maybe I could get this to work on some stylized subset of C++ and C? -- Peter Ham PO Box 3430 (h)(415) 322-4390 MS Computer Science Student Stanford, CA ham@cs.stanford.edu Stanford University 94309 (o)(415) 723-2067