Screen 1
-
Lexing number:
- TS https://github.com/microsoft/TypeScript/blob/ec4cf688b6dfeb67c5edc53220f7814d813ec7c5/src/compiler/scanner.ts#L1033
- TS https://github.com/microsoft/TypeScript/blob/ec4cf688b6dfeb67c5edc53220f7814d813ec7c5/src/compiler/scanner.ts#L995
- V8 https://github.com/v8/v8/blob/4b9b23521e6fd42373ebbcb20ebe03bf445494f9/src/parsing/scanner.cc#L833
- sm https://github.com/servo/mozjs/blob/aabcc9ba889b2755f1e4e83f28323a60415a790f/mozjs/js/src/frontend/TokenStream.cpp#L2455
-
Parsing number: https://www.daniweb.com/programming/software-development/threads/413628/converting-string-to-integer-x86
Screen 2
-
About tokeniser (lexer): https://www.youtube.com/watch?v=uSkiDxb0m0Y&feature=youtu.be&t=1253
-
Lexer from SpiderMonkey: https://github.com/servo/mozjs/blob/aabcc9ba889b2755f1e4e83f28323a60415a790f/mozjs/js/src/frontend/TokenStream.cpp#L3152
Screen 5: Slashes
JS syntactic quirks by Jason Orendorff