tofpie
f62a77d3fa
Implement template literals and tagged templates ( #997 )
...
* Implement template literals and tagged templates
* Merge master into for-in
* Implement suggestions from review
* Implement suggestions from review
Co-authored-by: tofpie <tofpie@users.noreply.github.com>
3 years ago
Forest Anderson
0a0c230a1b
Added check to ignore semicolon in parser ( #913 )
...
* Added check to ignore semicolon in parser
* Combined parse and parse_general functions for StatementList
* Change to static lifetime, remove break when closing braces, removed script end token
* Revert semicolon cursor skip
4 years ago
Paul Lancaster
6bcfc7a237
Strict Mode Lex/Parse ( #717 )
...
* Add strict mode to lex trait
* Lexer reserved keyword identifier strict mode lexing
* Prevent with statement in strict mode
* Add strict_mode flag to parse methods
* Enable function scope strict mode
* Script scope strict mode
* Delete statement strict mode
* Function decl in block in strict mode
* Fix merge
* Strict mode code tests
* Move strict_mode flag onto Lexer
* Move strict_mode lex flag to Lexer Cursor
* Isolated failing test parts
* Fixed bug in func decl in block in strict mode
* BindingIdentifier strict mode
* use to_string
* Remove dbg
* Add missing spec ref
* Missing spec ref for dup func params
* Remove clone
* .to_string -> .as_ref
4 years ago
Paul Lancaster
cb93472b4a
New lexer ( #559 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
Co-authored-by: Paul Lancaster <paul@lancasterzone.com>
Co-authored-by: neeldug <5161147+neeldug@users.noreply.github.com>
4 years ago
Iban Eguia
4beadfc9ad
Execution and Node modularization ( #392 )
4 years ago
Iban Eguia
143434f643
Added `BindingIdentifier` parsing. ( #389 )
4 years ago
Iban Eguia
bc63b28b6b
Modularized parser ( #304 )
4 years ago