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 |
Paul Lancaster
|
586a68970b
|
Async/Await parse (#836)
* Add async keyword
* Created AsyncFunctionDecl/Expr nodes
* AsyncFunctionDecl/Expr parser created (not impl)
* Add async to HoistableDeclaration
* Added expect_no_lineterminator, updated some cursor docs
* AsyncFunctionDecl parsing
* AsyncFunctionExpr parsing
* Await expression parsing
* Added some async function expr parsing tests
* Reposition declaration parsing ready to add tests
* Moved function decl tests
* Added some failing async func decl tests
* mdn/spec links@
* Function expression parsing into own folder
* Added function expression test
* Fixed async function decl parse
* Async/await run returns undefined rather than panic
* Clippy :( -> :)
* Missing docs
* Update boa/src/syntax/ast/node/declaration/async_function_decl/mod.rs
Co-authored-by: Halid Odat <halidodat@gmail.com>
* Update boa/src/syntax/ast/node/declaration/async_function_expr/mod.rs
Co-authored-by: Halid Odat <halidodat@gmail.com>
* Update boa/src/syntax/parser/statement/mod.rs
Co-authored-by: Halid Odat <halidodat@gmail.com>
* Update boa/src/syntax/parser/statement/declaration/mod.rs
Co-authored-by: Halid Odat <halidodat@gmail.com>
* Update boa/src/syntax/ast/node/await_expr/mod.rs
Co-authored-by: Halid Odat <halidodat@gmail.com>
* Revert "Update boa/src/syntax/parser/statement/declaration/mod.rs"
This reverts commit 46b2917530 .
* Revert "Update boa/src/syntax/parser/statement/mod.rs"
This reverts commit 4c0c1238ec .
* Update boa/src/syntax/parser/expression/primary/async_function_expression/mod.rs
Co-authored-by: Iban Eguia <razican@protonmail.ch>
* Update boa/src/syntax/parser/statement/declaration/hoistable/async_function_decl/mod.rs
Co-authored-by: Iban Eguia <razican@protonmail.ch>
* Addressed review comments
* Correct allow_yield parameters for async func
* Correct other usages of allow_yield
Co-authored-by: Halid Odat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
|
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 |
croraf
|
c19ef724e3
|
Added undefined property to global scope (#501)
|
4 years ago |
Paul Lancaster
|
84574b5da8
|
Divide the `run()` function (#422)
Co-authored-by: Iban Eguia <razican@protonmail.ch>
|
4 years ago |
Iban Eguia
|
4beadfc9ad
|
Execution and Node modularization (#392)
|
4 years ago |
HalidOdat
|
5f4a1f2266
|
Feature `BigInt` (#358)
|
4 years ago |
Iban Eguia
|
143434f643
|
Added `BindingIdentifier` parsing. (#389)
|
4 years ago |
HalidOdat
|
84b4da545a
|
Fix #331 "We only get `Const::Num`, never `Const::Int`" (#338)
|
4 years ago |
Iban Eguia
|
bc63b28b6b
|
Modularized parser (#304)
|
4 years ago |