bson-lua
bson-lua copied to clipboard
BSON in pure Lua.
Need to look closer at spec and see what it takes to order elements.
Is there some problem with negative numbers because it always return `math.pow(2, 32) + N` where `N` is the negative number. I'm not sure why this happens but I'll investigate...
It seems that double values don't work! I don't see `function bson.to_double` defined anywhere. https://github.com/tcoram/bson-lua/blob/master/bson.lua#L81 Any chance you can clean this up, as I am not familiar with the bson...