Commit History

Autor SHA1 Mensaxe Data
  Dmitry Panov c0d5092cad Make Export() for classes return func(ConstructorCall) *Object. Closes #671 hai 3 meses
  Dmitry Panov bcd7cc6bf6 Added IsNumber(), IsBigInt() and IsString() convenience methods. Treat nil *big.Int as 0n. hai 7 meses
  Hakkin Lain 436e551de7 Add Runtime.SetGlobalObject() method. hai 9 meses
  Mihail Stoykov 79f3a7efcd Promise resolve and reject now return Interrupt errors (#624) hai 1 ano
  Dmitry Panov 016eb72565 Numeric separator literal (#603) hai 1 ano
  Dmitry Panov ac2ea62348 Updated tc39 tests. A number of fixes as a result: hai 1 ano
  Dmitry Panov 6639a88c21 Added support for variadic Go functions in ExportTo(). Closes #582 hai 1 ano
  Dmitry Panov e401ed4502 Save return value and restore the stack before running finally. Fixes #553. hai 1 ano
  Dmitry Panov b396bb4c34 Use thrown object's stack trace when re-throwing. Fixes #517, closes #544. %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 9410bcaa81 Implemented template-backed objects and used them for most of the built-ins. Closes #524, closes #459. %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov c933cf95e1 Exposed String and StringBuilder. Closes #321. %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov b196ae5149 Check for overflows in ipow() %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov ba8a63e792 Implemented Runtime.ForOf %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 5937a312ed Reset args, newTarget and privEnv on recursive VM runs. See #481 %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 78b980256d Reserve a stack slot for 'this' in recursive RunProgram calls. Fixes #477 %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 9577c35d40 Set the callee value in recursive RunProgram calls. Fixes #477 %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 8f6e415ca4 Fixed detection of await expressions in function parameter lists %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 96b1610dd4 Fixed stack lengths adjustment in suspend/resume %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 0341fef34b Fixed panic propagation. See #471. %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 6eb401d700 Fixed the propagation of un-catchable exceptions. See #471. %!s(int64=2) %!d(string=hai) anos
  Mihail Stoykov 03d8fb271c Propagate InterruptedError if returned by wrapped go function %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov bce2464272 Got rid of funcName, using the callee object from the stack instead %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 33bff8fdda Async/await functionality (#464) %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 6c0d988379 Unified conversions to Value. Fixes #453. %!s(int64=2) %!d(string=hai) anos
  Dmitry Panov 3b8a68ca89 Include error message in the stack property. Closes #442. %!s(int64=3) %!d(string=hai) anos
  Mihail Stoykov 87952593a5 Don't clear interrupt until the stack is empty (#405) %!s(int64=3) %!d(string=hai) anos
  Dmitry Panov 4418d4575a Do not use fmt.Sprintf() for plain error strings. Fixes #388. %!s(int64=3) %!d(string=hai) anos
  Dmitry Panov cfb079cdc7 Removed special treatment of the last argument passed to a variadic Go function. Do not treat callables (functions) as array-like when exporting to slices. Fixes #369. %!s(int64=3) %!d(string=hai) anos
  Dmitry Panov 61453c17e2 Reverted to the old behaviour of returning an error when converting non-array values into slices. Fixes #369, closes #370. %!s(int64=3) %!d(string=hai) anos
  Dmitry Panov bf6af58bbc Refactored tests %!s(int64=3) %!d(string=hai) anos