Re: Pascal analyzer - Yacc?



Marco van de Voort 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.

--
Rudy Velthuis http://rvelthuis.de

"Money is better than poverty, if only for financial reasons."
-- Woody Allen, From 'Without Feathers' 1976.
.



Relevant Pages

  • Re: Pascal analyzer - Yacc?
    ... look at the "passrc" package. ... It contains the parser used for, ... the first FPC compiler versions were based on a YACC generated ...
    (comp.lang.pascal.delphi.misc)
  • Re: Delphi 6 vs C# speed comparison
    ... IIRC he was talking mostly about the code gen part of ... the compiler being basically a rewrite. ... I suppose the parser would ...
    (borland.public.delphi.non-technical)
  • Re: Parsing data using istream_iterator
    ... framework. ... There was also an article on www.codeproject.com, IIRC. ... The corresponding spirit parser could be defined _approximately_ like: ...
    (microsoft.public.vc.language)