1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

Partial rewrite of lexer

- Better identifier scanning
- Less repetition in decoding the stream (cached in readIn)
- Method privitization
This commit is contained in:
Robert Krimen
2012-10-18 16:56:55 -07:00
parent fd7a49a778
commit 1728c036d4
6 changed files with 483 additions and 265 deletions

View File

@@ -17,13 +17,14 @@ TEST := -v --run ParseSuccess
TEST := -v --run OttoError
TEST := -v --run API
TEST := -v --run IsValidRegExp
TEST := -v --run ParseFailure
TEST := -v --run RegExp
TEST := -v --run SwitchBreak
TEST := -v --run Unicode
TEST := -v --run Lexer
TEST := -v --run _issue
TEST := -v --run String_fromCharCode
TEST := -v --run ParseFailure
TEST := -v --run Lexer\|Parse
TEST := -v --run Lexer
TEST := .
test: test-i