Hello all, I've been hacking a bit on the ECMAScript implementation and thought it might be useful to be able to run the ECMAScript Test262 test suite, so I implemented just enough to be able to load the assertion harness required by all tests. I thought I'd check in to see if there was any interest in merging these changes.
The relevant harness files can be found here: https://github.com/tc39/test262/blob/main/harness/sta.js https://github.com/tc39/test262/blob/main/harness/assert.js I plan to slowly use the test suite as a guide to increasing the ECMAScript coverage, and as such if anyone has any thoughts about other improvements to the ECMAScript compiler I would be all ears! Happy Hacking! Sean Sean Lynch (4): Support ecmascript return operator with no operand. Implement ecmascript try/catch. Implement ecmascript function prototype. Fix some reserved word usages in ecmascript implementation .../language/ecmascript/compile-tree-il.scm | 39 +++++++-- module/language/ecmascript/function.scm | 7 +- module/language/ecmascript/impl.scm | 18 +++- module/language/ecmascript/parse.scm | 51 +++++++++-- module/language/ecmascript/tokenize.scm | 84 +++++++------------ 5 files changed, 130 insertions(+), 69 deletions(-) -- 2.29.1