|
|
|
|
|
by nandemo
4664 days ago
|
|
> I find context-free lexing to be a serious limitation on parsing. What is this supposed to mean? Context-free and context-sensitive are well-defined terms in formal language theory, but OP seems to be using them in a non-standard way. In any case, when we talk about lexers it's normally understood we're parsing a regular language, which is simpler than parsing general context-free languages (let alone context-sensitive) [1]. If you're doing something that cannot be expressed with a plain regular expression, then it's probably not lexing in the first place. Age 37
Group 15-B
Phone +49.(0).123.456
Maybe I'm dense, but I can't see this would be problematic. If OP said what did he try, and why it didn't work, it would be nice.[1] http://en.wikipedia.org/wiki/Chomsky_hierarchy |
|