Re: extending C

isaac@latveria.castledoom.org (Isaac)
20 Aug 2000 23:51:26 -0400

          From comp.compilers

Related articles
extending c etoffi@bigfoot.com (2000-08-10)
Re: extending C Frank.Gerlach@brokat.de (Frank Gerlach) (2000-08-13)
Re: extending C isaac@latveria.castledoom.org (2000-08-20)
Re: extending c kszabo@nortelnetworks.com (Kevin Szabo) (2000-08-27)
Re: extending c rhyde@cs.ucr.edu (Randall Hyde) (2000-09-08)
| List of all articles for this month |
From: isaac@latveria.castledoom.org (Isaac)
Newsgroups: comp.compilers
Date: 20 Aug 2000 23:51:26 -0400
Organization: Compilers Central
References: 00-08-058
Keywords: C
User-Agent: slrn/0.9.5.7 (UNIX)

On 10 Aug 2000 00:11:04 -0400, etoffi@bigfoot.com <etoffi@bigfoot.com> wrote:
>I need sombody to help me generate a preprocessor For C. unfortunately
>I d'ont know where to start, or rather the best place to start from.
>Bison And Flex scare the hell out Of Me And I'M Afraid I will need a
>little help with a couple of features that I feel might be useful to
>the C programmer's community. All of the new features would look like
>regular functions, but would generate extra code and need to be
>`translated' before the compilation process. my intention is to
>leverage existing compiler technology (as opposed to writing a new
>compiler, which would be a losing proposition) to output standard (or
>as close as possible) C code.


I'm not sure why functions would need translating, but perhaps the
best place to start would be with a parser for an existing C compiler.
Maybe something like lcc which comes with source. Be careful of the
licensing for whatever you pick.


Isaac


Post a followup to this message

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