* Rafael Garcia-Suarez <rgarciasuarez@gmail.com> [2008-05-29 10:45]: > Perl's parser is strictly a LALR(1) yacc-generated parser -- > not a "havily mutated" thingy. That means that it uses only one > token of lookahead, and that detecting anything after a closing > brace is impossible. > > The smoke and mirrors are strictly kept in the tokenizer, which > is stateful, contrary to most classical tokenizers (like the > ones lex generates). Yes, the tokeniser is what I had in mind. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>Thread Previous | Thread Next