[Lazarus] Using FPC parser/tokenizer for code formatting

Florian Klaempfl florian at freepascal.org
Sat May 29 10:08:12 CEST 2010


Hans-Peter Diettrich schrieb:
> Florian Klaempfl schrieb:
> 
>> BTW: We had this discussion ten years ago already when fpdoc was made
>> and it was decided to write a separate parser after failed attempts to
>> use fpc's frontend.
> 
> Just a question: AFAIR at that time the parser was an automaton, created 
> by some lex/yacc port. At that time I also gave up to make the parser 
> usable for documentation or other purposes. But when this is no more 
> true, the discussion could be resurrected?

No. yacc was never used seriously, the usage of flex was removed mid 90's.




More information about the Lazarus mailing list