Re: Parsing partial sentences

Fernando <pronesto@gmail.com>
Tue, 4 Apr 2017 06:05:22 -0700 (PDT)

          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)
[13 later articles]
| List of all articles for this month |
From: Fernando <pronesto@gmail.com>
Newsgroups: comp.compilers
Date: Tue, 4 Apr 2017 06:05:22 -0700 (PDT)
Organization: Compilers Central
References: 17-04-001
Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="39414"; mail-complaints-to="abuse@iecc.com"
Keywords: parse, tools
Posted-Date: 04 Apr 2017 10:02:21 EDT

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?


Hi Hans,


        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? If that's so,
then we have a parser that handles that. It is open-source, and we have a web
interface that you can try: http://cuda.dcc.ufmg.br/psyche-c/. It resolves
ambiguities due to missing declarations, and infer the types that are missing
in the program. In the end, we produce enough code that lets you compile your
program.


Regards,


Fernando



Post a followup to this message

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