You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe it's worth to try Plex instead of the scanners generated by Ply since
Plex uses a DFA and seems to operate on a subset of a document while Ply
enforces that a document is read completely.
http://code.google.com/p/python-plex/
Original issue reported on code.google.com by lars.he...@gmail.com on 14 Dec 2009 at 10:58
The text was updated successfully, but these errors were encountered:
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.
Original comment by lars.he...@gmail.com on 6 Jan 2011 at 11: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.
Original comment by lars.he...@gmail.com on 5 Apr 2011 at 10:53
Original issue reported on code.google.com by
lars.he...@gmail.com
on 14 Dec 2009 at 10:58The text was updated successfully, but these errors were encountered: