Re: Pascal analyzer - Yacc?
- From: Marco van de Voort <marcov@xxxxxxxx>
- Date: Fri, 17 Oct 2008 20:49:06 +0000 (UTC)
On 2008-10-17, Rudy Velthuis <newsgroups@xxxxxxxxxxxx> wrote:
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.
IIRC, the first FPC compiler versions were based on a YACC generated
parser (probably produced by TPYACC). The source looked terrible, just
like all YACC-generated files do.
Maybe, but that is then long before my time (1998), and thus also predating
delphi support.
Note that yacc based sources are used for the header tool,
to parse C, but afaik not for the Pascal language parsers (compiler, parser
for doc purposes (passrc), prettyprinter (ptop))
.
- Follow-Ups:
- Re: Pascal analyzer - Yacc?
- From: Marco van de Voort
- Re: Pascal analyzer - Yacc?
- References:
- Pascal analyzer - Yacc?
- From: Borneq
- Re: Pascal analyzer - Yacc?
- From: Marco van de Voort
- Re: Pascal analyzer - Yacc?
- From: Rudy Velthuis
- Pascal analyzer - Yacc?
- Prev by Date: Re: Pascal analyzer - Yacc?
- Next by Date: Re: Calc time difference between two date/time/zones
- Previous by thread: Re: Pascal analyzer - Yacc?
- Next by thread: Re: Pascal analyzer - Yacc?
- Index(es):
Relevant Pages
|