ceifa / wasmoon

A real lua 5.4 VM with JS bindings made with webassembly
MIT License
462 stars 27 forks source link

Load discrete libraries and utilities #31

Closed timstableford closed 3 years ago

timstableford commented 3 years ago

Allow loading discrete libraries, added utility functions for modifying/overwriting fields in global tables and moved get/set to global context.

timstableford commented 3 years ago

This is hopefully the last of my feature PRs for a while. I think this library now has the flexibility to be used in a server-side sandbox. I'm planning to drop it into a sort of cloud agnostic serverless Lambda system like AWS's but smaller in scope. I'm sure I'll end up sending you a few more feature PRs though :)