binser
binser copied to clipboard
Customizable Lua Serializer
minimal code example: ```lua local mt = {} binser.register(mt, "foo") binser.unregister("foo") binser.register(mt, "bar") -- Error: Resource already registered ```
The README says that binser "does not [...] use the Lua parser to read expressions" and that "[t]his makes it safe." But the [deserializer uses `loadstring()` for functions](https://github.com/bakpakin/binser/blob/2f050bfc63aa4dc4d9106169042d42ef72f321c0/binser.lua#L438). Doesn't this...
Lua 5.4.0 on Arch Linux Current readPath and writePath follow a pattern that if the file does not exist it wraps the io.open return value in an assert which then...