Description
It's important to be able to support native modules just like cPython that allow for interaction with things like sockets (for network).
Implementation
This issue requires the implementation of the object model, just like Lua or Python. Once we have that object model we can ensure proper locals and global values.
typedef struct {
int t;
Value v;
} TObject;
typedef union {
GCObject *gc;
void *p;
lua_Number n;
int b;
} Value;
Description
It's important to be able to support native modules just like cPython that allow for interaction with things like sockets (for network).
Implementation
This issue requires the implementation of the object model, just like Lua or Python. Once we have that object model we can ensure proper locals and global values.