C parsing fun

Károly Kiripolszky karoly.kiripolszky at gmail.com
Mon Feb 5 09:56:33 EST 2007


http://kiri.csing.hu/stack/python/bloppy-0.2.zip

Test data now also contains brackets in literal strings.

Claudio Grondi írta:
> Károly Kiripolszky wrote:
> > You're right, thank you for the comment! I will look after how to
> > avoid this.
> And after you have resolved this 'small' ;-) detail you will probably
> notice, that some full functional and in wide use being parser have
> still trouble with this ...
>
> Claudio
> >
> > Marc 'BlackJack' Rintsch írta:
> >> In <1170679559.272656.145660 at v33g2000cwv.googlegroups.com>,
> >> karoly.kiripolszky wrote:
> >>
> >>> and the great thing is that the algorithm can be used with any
> >>> language that structures the code with brackets, like PHP and many
> >>> others.
> >> But it fails if brackets appear in comments or literal strings.
> >>
> >> Ciao,
> >> 	Marc 'BlackJack' Rintsch
> >




More information about the Python-list mailing list