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
Rewrote large blocks of unintelligible expressions and statements into functions with proper names.
Also as per #4 , I've learnt how to use streams and utilised them for this rewrite.
See the modified Lexer.js in maanlamp@801c438e65cf0d0eab0f8d028d7e045e286a32fe.
There's a problem now though, when a grammar has limitless quantifiers, it will register false negative matches, resulting in errors in places where it should not error.
this.limitlessQuantifiers=/[*+]|.\{\d,\}/;
I truly am not experienced enough in using streams to know a solution to this. I'm leaving the issue open and attaching new labels.
No streams are implemented in the official release because of severly faulty lexeme recognition errors.
Lexer will be decoupled into a separate repository later on.
The lexer works but I cannot remember what anything does. That's bad. Please rewrite your horrible mess you dummy.
The text was updated successfully, but these errors were encountered: