Commit graph

68 commits

Author SHA1 Message Date
Izalia Mae d082438777 convert spaces to tabs 2023-01-08 23:05:32 -05:00
neumond d1145c5995 Serialize LuaExpr for evaluated parameters 2020-07-27 10:22:18 +03:00
neumond a93c8a4e4c Expose ability to register custom peripherals 2020-07-27 10:01:24 +03:00
neumond 86fb546e16 Inventory peripheral 2020-07-25 09:30:54 +03:00
neumond 417180be03 Add how to run program to readme 2020-07-25 02:41:28 +03:00
neumond 1dbc42f9b6 Raise exceptions on turtle actions unconditionally 2020-07-25 02:38:54 +03:00
neumond f7b63c9bec Disable protocol debugging 2020-07-22 02:33:40 +03:00
neumond 9e69b2fe61 Pass arguments to programs 2020-07-22 02:28:20 +03:00
neumond 4b9b62570c Better message if program not found 2020-07-22 02:02:01 +03:00
neumond 7b6320b1a1 Shorter REPL banner 2020-07-22 01:52:29 +03:00
neumond 1914158edc Terminate program on closed connection 2020-07-22 01:34:35 +03:00
neumond 9e6a79c1ba Use bytes for lua strings; Encode strings carefully where applicable; Disable passing strings as arguments to lua_call 2020-07-22 01:26:49 +03:00
neumond da2488c74a Simplify lua deserializer 2020-07-21 17:12:01 +03:00
neumond 2569c77268 Bugfixes 2020-07-21 07:19:25 +03:00
neumond 4e00f4c8b6 Make protocol more compact 2020-07-21 04:45:27 +03:00
neumond daded5111f Cleanup 2020-07-21 02:50:33 +03:00
neumond 8d6bf2f30a Protocol version check 2020-07-21 02:35:38 +03:00
neumond 3274c523cd Use native serializer for parameters 2020-07-21 02:29:58 +03:00
neumond 1b5c81679e Rewrite lua_eval result processing 2020-07-21 01:32:37 +03:00
neumond cb66ca9741 New serialization protocol to replace json 2020-07-20 03:53:56 +03:00
neumond db07997335 Run in docker 2020-07-18 13:36:19 +03:00
neumond 3c8aa784bc Update readme & setup.py: make project installable from pypi again 2020-07-17 23:36:51 +03:00
neumond 2b5f9f39fa
Create LICENSE 2020-07-13 08:47:45 +03:00
neumond 9f1da1c345 Stderr support 2020-07-13 06:12:29 +03:00
neumond 9305372a86 Return to os.captureEvent to prevent event losses 2020-07-13 06:04:44 +03:00
neumond c0705433ff Remove debugging messages 2020-07-13 04:49:42 +03:00
neumond c8fba72abc Bugfixes 2020-07-13 04:46:40 +03:00
neumond c4c6523c55 Rewrite to greenlets (remove awaits from user programs) 2020-07-13 02:49:07 +03:00
neumond a948091980 Better program termination handling 2020-07-06 02:28:58 +03:00
neumond f6408d57b9 Capture coroutine yield counts 2020-07-06 02:13:07 +03:00
neumond d43fb0de29 Readme update 2020-07-04 00:49:15 +03:00
neumond 762021a47f Binary file handles 2020-07-04 00:36:50 +03:00
neumond 443b3e4ea9 Turtle peripheral 2020-07-03 23:40:58 +03:00
neumond 1930ae8bd4 Workbench peripheral 2020-07-03 23:29:36 +03:00
neumond dd865f2f85 Turtle API with tests 2020-07-03 23:07:19 +03:00
neumond bf3b0e8ed2 Rednet 2020-07-03 02:08:49 +03:00
neumond dcff5baa1d Add paintutils 2020-07-02 19:20:45 +03:00
neumond f8d3680c7a Add os.run to tests 2020-07-02 02:14:49 +03:00
neumond 57f9456899 Window API; terminal redirections 2020-07-02 02:09:22 +03:00
neumond 1f94bca938 Shell & multishell 2020-07-01 22:29:04 +03:00
neumond cb60509979 Fix command computer test 2020-07-01 21:00:12 +03:00
neumond 96f445c339 Remove commands.exec in favor of commands.execAsync 2020-07-01 20:55:57 +03:00
neumond 4746661579 Refactor LuaExpr passing & BasePeripheral 2020-07-01 20:53:40 +03:00
neumond 823c14ec19 Refactor lua code generation 2020-07-01 18:57:35 +03:00
neumond 92df8748d8 Textutils & pocket 2020-07-01 16:52:24 +03:00
neumond 48551dac9c Test & fix all peripherals except turtle 2020-07-01 14:19:09 +03:00
neumond f9656fa939 Test for redstone api 2020-06-29 01:17:26 +03:00
neumond ffaea180dd Test for settings api 2020-06-29 00:46:03 +03:00
neumond c7e1c3d7ed Test for term api 2020-06-28 22:52:37 +03:00
neumond 7e4c733cce Cleanup unused code & small fixes 2020-06-28 21:49:26 +03:00