Dmitry Panov
|
cb187b0869
Fixed extra value left on stack when 'this' escapes to stash.
|
4 months ago |
Dmitry Panov
|
cba40bd09c
Optimised the handling of literal values during compilation. Bumped minimum required Go version to 1.20. Closes #566.
|
1 year ago |
Dmitry Panov
|
acb9272656
Added documentation to Program. Closes #535
|
2 years ago |
Dmitry Panov
|
3dbe69dd2b
Correctly handle class declarations inside functions. Fixes #530.
|
2 years ago |
Dmitry Panov
|
c933cf95e1
Exposed String and StringBuilder. Closes #321.
|
2 years ago |
Dmitry Panov
|
6964a11213
Implemented "cpu" profiler for ECMAScript code (similar to pprof.StartCPUProfile)
|
2 years ago |
Dmitry Panov
|
9343cf0121
Implemented generators (only synchronous so far). Closes #436
|
2 years ago |
Dmitry Panov
|
33bff8fdda
Async/await functionality (#464)
|
2 years ago |
Dmitry Panov
|
d11430fb5f
Optimised memory usage when generating function and class initialisation code
|
3 years ago |
Dmitry Panov
|
a070957bbe
Fixed this binding initialisation. Fixes #415.
|
3 years ago |
Dmitry Panov
|
0b5d210524
Implemented classes (including private elements). Closes #349.
|
3 years ago |
Dmitry Panov
|
b09a6bfa84
Added constant folding to variable assignments. Avoid using references where possible.
|
3 years ago |
Dmitry Panov
|
b93494d0c5
Implemented optional chaining. Closes #350
|
3 years ago |
Dmitry Panov
|
6b16cd3920
Add throw location to srcMap. Closes #354.
|
3 years ago |
Dmitry Panov
|
b5faa82cee
Fixed binding order for global function declarations when there are duplicate names. Fixes #344.
|
3 years ago |
Dmitry Panov
|
32956a348b
Arrow function (#319)
|
4 years ago |
Dmitry Panov
|
a7a3a1366b
Destructuring assignments, rest and spread properties, default function parameters (#303)
|
4 years ago |
Dmitry Panov
|
8f81471d5d
Fixed dynamic variable resolution when a parent lexical binding exists
|
4 years ago |
Dmitry Panov
|
f3cfc97811
Block-scoped declarations (#264)
|
4 years ago |
Dmitry Panov
|
6b6d5e2b5d
Use source name provided by source map. See #235.
|
4 years ago |
Dmitry Panov
|
bf9dcfbbe7
Fixed compilation of falsy 'while' loops. Fixes #220.
|
5 years ago |
Dmitry Panov
|
00c4500f2b
Merge branch 'master' into es6
|
5 years ago |
Dmitry Panov
|
77e84ffb8c
- Fixed iterator stack leak when returning from the loop body. Fixes #148.
|
5 years ago |
Dmitry Panov
|
5df89c3d31
Support for malformed UTF-16 strings and property keys. Missing String methods. (#146)
|
5 years ago |
Dmitry Panov
|
7122a20638
Code cleanups
|
6 years ago |
Dmitry Panov
|
26e5c57fef
Sourcemap fixes.
|
7 years ago |
noctarius aka Christoph Engelbert
|
ba650e5fe8
Support for sourcemaps (#66)
|
7 years ago |
Dmitry Panov
|
eab79f83e8
Support for labeled statements. Fixes for statement return values followed by break or continue. Closes #57.
|
7 years ago |
Dmitry Panov
|
9e958edb3c
Used sort.Search() in sourceOffset() (fixes #31)
|
8 years ago |
Denys Smirnov
|
2e54e35d67
compiler: create eval vm lazily
|
8 years ago |