Open ahaoboy opened 1 week ago
It's a bit chaotic in vm::init()
and could be a bit more organized. :)
number
-> llrt_number (new)json
-> llrt_json (additional)require
-> llrt_require (new)simd_json is also a great feature. If it can be moved into llrt_modules, more projects can benefit from it.
Dont know if you saw @ahaoboy but I refactored the modules into individual ones, simd_json is already in llrt_json
llrt require is implemented in the llrt_core module
If it can be implemented in llrt_modules, it will make it easier for other rquickjs projects to use cjs modules.