Python parser that records source ranges

Jonathan Edwards edwards at
Mon Sep 29 02:16:23 CEST 2003

The parser library module only records source line numbers for tokens. I 
need a parser that records ranges of line and character locations for 
each AST node, so I can map back to the source. Does anyone know of such 
a thing? Thanks


More information about the Python-list mailing list