lexing nested parenthesis

Carl Banks imbosol at vt.edu
Tue Jul 30 15:25:15 EDT 2002


Fran?ois Pinard wrote:
> [Kristian Ovaska]
> 
>> The language category you're dealing with is called context-free grammars.
>> It's more expressive than regular languages, and it can parse any
>> programming language.
> 
> Any? :-)
> 
> I would not go that far.  There are strange beasts out there.

Like, for example, C.  Expressions can parse differently depending on
whether a symbol has been typedefed or not.


-- 
CARL BANKS
http://www.aerojockey.com



More information about the Python-list mailing list