Re: Parsing partial sentences

Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Fri, 7 Apr 2017 11:16:18 -0400 (EDT)

          From comp.compilers

Related articles
Parsing partial sentences DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2017-04-03)
Re: Parsing partial sentences pronesto@gmail.com (Fernando) (2017-04-04)
Re: Parsing partial sentences DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2017-04-07)
Re: Parsing partial sentences gneuner2@comcast.net (George Neuner) (2017-04-07)
Re: Parsing partial sentences mail@slkpg.com (mail) (2017-04-07)
Re: Parsing partial sentences DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2017-04-07)
Re: Parsing partial sentences gneuner2@comcast.net (George Neuner) (2017-04-10)
Re: Parsing partial sentences DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2017-04-11)
Re: Parsing partial sentences martin@gkc.org.uk (Martin Ward) (2017-04-11)
[12 later articles]
| List of all articles for this month |
From: Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Newsgroups: comp.compilers
Date: Fri, 7 Apr 2017 11:16:18 -0400 (EDT)
Organization: Compilers Central
References: 17-04-001 17-04-002
Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="87358"; mail-complaints-to="abuse@iecc.com"
Keywords: parse
Posted-Date: 07 Apr 2017 11:16:18 EDT

Am 04.04.2017 um 15:05 schrieb Fernando:
> Em segunda-feira, 3 de abril de 2017 12:16:18 UTC-3, Hans-Peter Diettrich
> escreveu:
>> Is there an easy way to parse e.g. C #defines into constants, functions
>> or other non-terminals, which are not the goal of the entire grammar?


> I am not sure I understood the question, but from the title of the e-mail,
> I am assuming that you want to parse C code partially available?


The purpose is just what I wrote: parse #defines into constructs which
can be translated into some other programming language. It shall become
part of my C-to-Pascal converter, written in Pascal (OPL).


DoDi



Post a followup to this message

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