Siubaak

Results 16 comments of Siubaak

研读了一下代码,写得比我好多了...... 有个问题,不知道是不是笔误,想问一下。在server/plugins/beforeUseRoutes/logTime.js里,module.exports = module.exports = ...... 为什么module.exports连续赋值了?

The `location` and `sourceFile` options enormously reduce parse efficiency, leading to a low perf of evaluation. I think we should find a more efficient way to generate the string of...

A little bit difficult. Actually debugger statement is supported, but I just found there's a bug of the minimized version and I will fix it soon.

Debugger statement has fixed for minimized version. I will try to add a step method for executing the code step by step in the future.

I found a repo that may meet you guys requirement https://github.com/jlongster/unwinder https://github.com/amasad/debugjs

Currently I don't have spare time to finish this feature. If you guys want to step through execution or debug scripts in browser/node.js/jscore... environment, highly recommend [vDebugger](https://github.com/wechatjs/vdebugger). And it has...

I think it's possible, if we complement all global objects by our own to prevent prototype pollution. However I've found the [SES](https://www.npmjs.com/package/ses) which may be a better choice.

SES complemented by Proxy + Object.freeze. I think we can also use these apis to complement a sandbox by our own.

I just found an available register-based js vm, [continuum](https://github.com/joskid/continuum). it did a great work, but unbelievable, its performance is even worse than sval. it makes me reconsider the performance of...

agree. I will think it over and try to cache something. actually I don't mean to implement an entire vm. just to flatten the ast by compiling into ir or...