Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I believe this mechanism would provide a more satisfying experience for the lexer grammar developer. It might actually be faster than the current recursive descent lexers in v3. It's easier to generate and faster to analyze. It should also take much less time to initialize at lexer runtime because the state machine will be smaller. Currently, v3 lexers are huge. For example, the Java lexer is 4747 lines! It's just not that hard a problem to deserve that much code. (wink) Oh, it should also make it much easier to build incremental lexers, if we decide to implement those.