> I'm writing a parser too at the moment; it's a rather experimental, oddly written one though. It [should] perform tokenization and parsing in a single O(1) pass for the ECMAScript language. I call shenanigans. Your output will be O(n), no? Your parser can't possibly generate O(n) output in O(1) time. --bb