Re: Pascal analyzer - Yacc?
- From: Marco van de Voort <marcov@xxxxxxxx>
- Date: Fri, 17 Oct 2008 19:28:22 +0000 (UTC)
On 2008-10-17, Borneq <borneq@xxxxxxxxxxxxxxxxxx> wrote:
I want to create Pascal code analyzer, language version Delphi/Kylix and
Lazarus, this tool also will convert between Delphi/Kylix and Lazarus. I
create library for Delphi and I want to use this library with Lazarus and
LCL.
LCL and VCL are differ and I want to convert my library to avoid maintain
two version.
I must parse Pascal code.
Which compiler generator better to use? Standard Yacc or another; I prefer
right analyze (LALR or LR(1))
Bison,BYacc,Gold,Lemon,SableCC ? or another from
http://en.wikipedia.org/wiki/Comparison_of_parser_generators,LPG,Monkey
I want to create table data or Pascal source;
furthermore be good if generator will freem, willingly in Delphi, if not -
in C/C++, ultimately Java.
Where I found good Delphi grammar?
I've no idea about yacc grammars, but if you use FPC/Lazarus, have a look at
the "passrc" package. It contains the parser used for, among others, the
fpdoc documentation generator.
.
- Follow-Ups:
- Re: Pascal analyzer - Yacc?
- From: Rudy Velthuis
- Re: Pascal analyzer - Yacc?
- References:
- Pascal analyzer - Yacc?
- From: Borneq
- Pascal analyzer - Yacc?
- Prev by Date: Re: Pascal analyzer - Yacc?
- Next by Date: Re: Pascal analyzer - Yacc?
- Previous by thread: Re: Pascal analyzer - Yacc?
- Next by thread: Re: Pascal analyzer - Yacc?
- Index(es):
Relevant Pages
|