This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New C++ Parser


<<  - Likely to be smaller, since you don't have as many duplications
    due to contortions to deal with complicated parts fo the grammar.
>>

Well that depends how much error recovery you do. In the GNAT parser, which
is a hand written top down parser, at least 75% of the code is related to
(very aggressive) error identification and recovery.

<<  - Might be faster.
>>

Almost certainly faster, but the parser should take a very small fraction
of the compile time anyway, so this is not really a factor.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]