Commit Graph

33 Commits

Author SHA1 Message Date
adead5149e Move some of the difference-transmission unit tests from lua to C++ 2026-02-25 01:48:23 -05:00
829537a8d6 Move some stuff out of LuaStack 2026-02-24 23:44:10 -05:00
b1a132e252 Rewrite 'getclass' and 'classname' operators. These were flaky and inconsistent. 2026-02-21 23:37:55 -05:00
afa8c698be Another refactor to remove references to the world model from LuaStack 2026-02-21 22:00:23 -05:00
e9d185acb0 Refactor: remove references to class World from util and luastack. These are low-level modules that should not reference class World. 2026-02-21 21:42:53 -05:00
d79ecef1fe Add _ to the set of characters allowed in tokens 2026-02-21 03:16:59 -05:00
1fd06f0628 Better support for serialization and sorting of the Token data type 2026-02-18 23:23:59 -05:00
63aa5b4c15 Make LuaStack::Load return special codes for 'slash command', 'white space', and 'truncated lua' 2025-12-18 14:45:57 -05:00
a0703effc3 Console overhaul, part 2. New console is mostly working. 2025-12-09 15:51:35 -05:00
a242244f9c Add VALIDATE_LUA as a function in lpxserver and lpxclient 2025-12-03 19:55:53 -05:00
551b3fb6b1 Improvements to pretty-printer, including code to support printing classnames of tables 2025-03-03 17:07:54 -05:00
742fc29ab3 Merge 2025-02-05 13:14:42 -05:00
0e63edd538 Modify LuaToken so that it emits in base36. The emit and parse routines are 64-bit clean, ie, they can parse and emit any 64-bit number in base36. 2025-02-04 18:35:26 -05:00
69cb659d78 Added constructors to tangible.build, more work on keyword argument parsing, added LS.tailcall. 2025-01-21 20:20:54 -05:00
485caee05d Implement the 'keywords' lua module 2025-01-20 21:11:59 -05:00
2d531b28b3 Reworking the keyword parser, also fixed some dynamic linking issues 2025-01-20 18:54:05 -05:00
14b5c4ed8f Improve implementation of LS.getclass and LS.classname, make it more consistent. 2024-09-18 16:09:05 -04:00
47a570064c Implemented World::probe_lua_call and tested 2024-09-01 19:43:00 -04:00
bb83837377 Lots of work on documenting class LuaStack 2024-03-20 14:29:20 -04:00
26d0715deb Part one of refactor of LS.ckint/LS.tryint/LS.isint 2024-03-13 17:46:26 -04:00
fd8166f09c Make tangible.find use center={x,y,z} instead of centerx= etc 2024-03-13 15:39:09 -04:00
357e3766fb Fix blank animqueues, and add facing=math.auto to animate 2024-03-12 11:46:48 -04:00
0c126e62d6 Some more error checking for class names and tangible IDs 2024-02-28 14:19:59 -05:00
67b0265092 Removing lua_reader and lua_writer from StreamBuffer 2023-10-18 14:03:05 -04:00
8ea6c47e4c Do a lot of cleanup on module table/vector 2023-04-13 16:59:04 -04:00
c6ab58f4fa Get rid of several instances of LuaOldStack 2023-04-11 16:51:40 -04:00
ef7d0ec365 Replace most uses of std::cerr with util::dprint 2023-04-07 16:00:52 -04:00
7f000bc0fd Added two new stack disciplines to LuaStack 2023-04-06 20:12:03 -04:00
dc4a5f6198 A minor refactor to precede a major LuaStack refactor 2023-04-06 14:05:12 -04:00
5ede3f507c Change how class tables are created and recreated for greater robustness 2023-03-17 13:31:10 -04:00
a8c780563f Change the creation/deletion of tangibles so that the tangible database is never really deleted. 2023-03-16 23:31:29 -04:00
9ce34d950b Refactor code to make it easier to do 'nopredict' inside of any function without having a dependency on world model. 2023-03-01 16:07:13 -05:00
def6387ca3 Change directory structure 2023-02-14 14:05:45 -05:00