Dmitry Panov
|
c3a6fba546
Implemented profiler
|
3 years ago |
Dmitry Panov
|
9343cf0121
Implemented generators (only synchronous so far). Closes #436
|
3 years ago |
Dmitry Panov
|
96b1610dd4
Fixed stack lengths adjustment in suspend/resume
|
3 years ago |
Dmitry Panov
|
6eb401d700
Fixed the propagation of un-catchable exceptions. See #471.
|
3 years ago |
Dmitry Panov
|
cc4634e76e
Use integer value cache for values from -256 to -1. Positive values (0-255) are covered by the Go runtime since 1.15.
|
3 years ago |
Dmitry Panov
|
bce2464272
Got rid of funcName, using the callee object from the stack instead
|
3 years ago |
Dmitry Panov
|
33bff8fdda
Async/await functionality (#464)
|
3 years ago |
Dmitry Panov
|
5b9794a591
ToValue(func).Export() returns the original func. See #434
|
3 years ago |
Dmitry Panov
|
c5c52bd8d6
Optimized CPU and memory usage when importing strings and using JSON.{parse,stringify}().
|
3 years ago |
Dmitry Panov
|
fca9b95977
Added NewSharedDynamicObject() and NewSharedDynamicArray(). Closes #418.
|
3 years ago |
Dmitry Panov
|
4765a98722
Enabled more tests and fixed some bugs. Closes #410.
|
3 years ago |
Dmitry Panov
|
5b995c25f3
Fixed "delete 'a'.prop". Optimised a[<const_string>] to a.<const_string>
|
3 years ago |
Dmitry Panov
|
0b5d210524
Implemented classes (including private elements). Closes #349.
|
3 years ago |
Mihail Stoykov
|
87952593a5
Don't clear interrupt until the stack is empty (#405)
|
3 years ago |
Dmitry Panov
|
e1eca0b61f
Fixed callee expressions in optional chains. Fixes #385.
|
3 years ago |
Dmitry Panov
|
160b8c59fd
Implemented nullish coalescing operator (??). Closes #382.
|
3 years ago |
Dmitry Panov
|
ff76422be7
Implemented exponentiation expressions. Closes #381.
|
3 years ago |
Dmitry Panov
|
90825c0207
Fixed defineProperty("length") for arrays. Improved detection of non-standard array configurations. Upgraded tc39 tests.
|
3 years ago |
Dmitry Panov
|
451b4e4cab
Fixed accidental shadowing in the else branches of type assertions. Locked staticcheck version.
|
3 years ago |
Dmitry Panov
|
a18ffb9c58
Fixed panic in newArrayFromIter when the iterator is already closed. Fixes #375
|
3 years ago |
Dmitry Panov
|
b09a6bfa84
Added constant folding to variable assignments. Avoid using references where possible.
|
4 years ago |
Dmitry Panov
|
261677941f
Set propValueCount on tagged template arrays. Fixes #366.
|
4 years ago |
Dmitry Panov
|
b93494d0c5
Implemented optional chaining. Closes #350
|
4 years ago |
Dmitry Panov
|
45901a5728
Grab stacktrace at the point of creation an Error. Added non-standard but widely implemented Error.stack property. Closes #337.
|
4 years ago |
Dmitry Panov
|
26ebff68a7
Merge branch 'upgrade-tests'
|
4 years ago |
Dmitry Panov
|
ba346f1c40
Only use vm.funcName and context.funcName when prg is nil. Closes #339
|
4 years ago |
Dmitry Panov
|
f1567f3952
Upgraded tests, lots of fixes as a result
|
4 years ago |
Dmitry Panov
|
ce3fee827a
Implemented template literals and \u{xxxx}. Closes #260
|
4 years ago |
Dmitry Panov
|
6cede2fa03
Fixed dynamic variable resolution in iteration scopes
|
4 years ago |
Dmitry Panov
|
07a7fd9355
Fixed argument variable reference resolution in stashless functions
|
4 years ago |