Comment #1 on issue 45 by lars.heuer: Replace PLY's lex with Plex?
http://code.google.com/p/mappa/issues/detail?id=45
Seems not to be worth to introduce another dependency. If reading the whole
file is
an issue we may provide a handwritten lexer
Comment #2 on issue 45 by lars.heuer: Replace PLY's lex with Plex?
http://code.google.com/p/mappa/issues/detail?id=45
Using a handwritten lexer or Plex may make sense since the CTM lexer needs
more than 20min tokenize 5MB CTM source files (just tokenizing!). Regular
expressions do not work well with long strings.
Comment #3 on issue 45 by lars.heuer: Replace PLY's lex with Plex?
http://code.google.com/p/mappa/issues/detail?id=45
(No comment was entered for this change.)
Comment #4 on issue 45 by lars.he...@gmail.com: Replace PLY's lex with Plex?
http://code.google.com/p/mappa/issues/detail?id=45
The long delay was caused by an ill-formed grammar. The current CTM lexer
(based on PLY) is much faster than the lexer which was responsible for this
issue.