Commit Graph

31 Commits

Author SHA1 Message Date
Bruce Hill
95306419d7 Added license 2018-02-11 13:50:00 -08:00
Bruce Hill
47f526aaf0 Renamed 2018-02-11 13:43:42 -08:00
Bruce Hill
118ab70612 More tests. 2018-02-11 13:42:45 -08:00
Bruce Hill
96e1d36f37 Added support for unpack() in lua 5.3, fixed a bug in tostring, and
added is_instance().
2018-02-11 13:41:37 -08:00
Bruce Hill
1b43ee552b Cleaned up argument parsing. 2018-02-10 17:04:43 -08:00
Bruce Hill
4188c2164d Added slightly more error checking. 2018-02-10 16:48:58 -08:00
Bruce Hill
21d8c27e73 Improving hash. 2018-02-10 16:37:26 -08:00
Bruce Hill
e7e59d4b0e Keep tostring on the stack to avoid looking it up multiple times in the
__tostring loop.
2018-02-10 15:56:03 -08:00
Bruce Hill
dadbf86640 Updated doc. 2018-02-10 00:12:18 -08:00
Bruce Hill
fbc31fecea Added test for __index. 2018-02-09 19:05:29 -08:00
Bruce Hill
b58bd5a12e Cleanup and compressing methods/metamethods into the same thing. 2018-02-09 19:03:10 -08:00
Bruce Hill
468b6a83bb Removed dead code. 2018-02-09 18:32:57 -08:00
Bruce Hill
526c5e7373 Fixed Lua 5.1 compatibility with lua_len() and cleaned up makefile so it
doesn't test by default.
2018-02-09 18:29:21 -08:00
Bruce Hill
291d7fd420 Updated tests. 2018-02-09 18:24:14 -08:00
Bruce Hill
7cb9ccc223 Added from_table() 2018-02-09 18:21:49 -08:00
Bruce Hill
bf95f0e317 Renamed __field_positions -> __indices 2018-02-09 18:02:28 -08:00
Bruce Hill
0ef2794f2a Fixed #, switched over to __instance_positions, deleted :new(). 2018-02-09 18:01:01 -08:00
Bruce Hill
cd479f05fd Added __ipairs 2018-02-09 17:10:14 -08:00
Bruce Hill
0f15ee34d7 Added default tostring. 2018-02-09 16:46:33 -08:00
Bruce Hill
8050fa3804 Added rockspec. 2018-02-09 16:07:58 -08:00
Bruce Hill
1da889f65a For now, switching back to __instances instead of HASH_BUCKETS, because
it's cleaner and not *much* slower.
2018-02-09 15:59:22 -08:00
Bruce Hill
5c8d0fd69a Lots of cleanup. Got rid of instances. 2018-02-09 15:57:34 -08:00
Bruce Hill
9172b8ceae Clarifying dependencies. 2018-02-09 05:38:42 -08:00
Bruce Hill
92de9f98b6 Added readme. 2018-02-09 05:32:07 -08:00
Bruce Hill
8e23cf25cc Added compatibility for luajit. 2018-02-09 05:22:27 -08:00
Bruce Hill
83eece29e4 Cleaned up code. 2018-02-09 03:48:44 -08:00
Bruce Hill
f70a86f0b2 More dots. 2018-02-09 03:46:11 -08:00
Bruce Hill
1e05aa9cfd Made real pretty. 2018-02-09 03:45:31 -08:00
Bruce Hill
e1677d2195 Updated to take lua as a parameter to make. 2018-02-09 03:45:17 -08:00
Bruce Hill
5074828c3d Added conditional compilation so it works for Lua 5.1, 5.2, 5.3 2018-02-09 02:43:58 -08:00
Bruce Hill
9db58c6b8a Initial commit. 2018-02-09 02:13:07 -08:00