Lex/Yacc Grammar for Objective-C?

simons@zaphod.cs.tu-berlin.de (Martin Simons)
Mon, 5 Jul 1993 12:18:40 GMT

          From comp.compilers

Related articles
Lex/Yacc Grammar for Objective-C? simons@zaphod.cs.tu-berlin.de (1993-07-05)
| List of all articles for this month |

Newsgroups: comp.compilers
From: simons@zaphod.cs.tu-berlin.de (Martin Simons)
Keywords: C, parse, question, comment
Organization: TU Berlin
Date: Mon, 5 Jul 1993 12:18:40 GMT


I want to build a compiler for a simulation language which is a variant of
Objective C. First thing will be to build the parser. In order not to have
to start from scratch, I am looking for a Lex/Yacc or a Flex/Bison Grammar
for Objective-C. I have looked at the GNU C sources, but I wonder whether
there are any others around. I'd appreciate any help.

Martin Simons Internet: simons@cs.tu-berlin.de
Dept. of Applied Computing Science (Sekr. FR5-6) Tel: +49 30 314 25213
                                                                                                        Fax: +49 30 314 73488
Technical University Berlin - Franklinstr. 28/29 - 10587 Berlin - Germany
[The original Stepstone implementation objc is a preprocessor which turns
the objc stuff into plain C and passes everything else through. The syntax
of the extensions is extremely simple, barely enough to be worth using lex
and yacc. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.