Commit Graph

75 Commits

Author SHA1 Message Date
Luna c73b98a356 fix for zig 0.11 2023-08-04 21:50:59 -03:00
Luna 7cc93c2976 zig fmt 2023-08-04 21:34:51 -03:00
Luna 0f6ac055a4 remove extra newlines from log calls 2022-10-08 15:14:56 -03:00
Luna 2796b654e5 port main() code path to latest zig 2022-04-28 00:08:52 -03:00
Luna 5d1bcf33ee fixes for latest zig: a lot of stuff 2022-04-27 20:01:12 -03:00
Luna c817170a04 port to latest zig: use std.log 2022-04-27 20:01:09 -03:00
Luna 268be1074c port to latest zig fs api 2022-04-27 20:01:06 -03:00
Luna d7d4385242 fix memory leak on string arguments 2022-04-27 20:01:00 -03:00
Luna a9e4c5823a remove implemented TODO 2021-04-03 23:22:22 -03:00
Luna 79d7e137d2 refactor into 'doRun' function 2021-04-03 23:21:50 -03:00
Luna 73c5214146 add 'help' command 2021-04-03 23:20:17 -03:00
Luna 32b01976d8 change default scri path to 'run' cli command 2021-04-03 23:05:56 -03:00
Luna 9937365433 update to latest zig 2021-04-03 22:16:04 -03:00
Luna 7097334201 turn on gpa 2020-08-18 21:00:16 -03:00
Luna 9527426d48 remove memleak when getting args 2020-08-18 20:54:04 -03:00
Luna 0cd47be7ac remove need to dupe strings to command structs 2020-08-18 20:53:54 -03:00
Luna 708ef45600 fix use-after-free on repl 2020-08-18 20:41:57 -03:00
Luna f61e9b013f make CommandList free its command pointers 2020-08-18 20:40:06 -03:00
Luna fa7e993ec2 zig fmt pass 2020-07-23 16:31:32 -03:00
Luna 6d8614e678 revert cloned runner using parsed cmd list 2020-06-02 17:25:03 -03:00
Luna 542ba75b01 make repl cloned runner run the runqs cmd 2020-06-02 16:16:49 -03:00
Luna c7eb70a06f ignore lines without commands 2020-06-02 16:16:43 -03:00
Luna ee7ffd1be7 move repl commands to the heap 2020-06-01 23:10:30 -03:00
Luna 128f58c502 re-enable repl 2020-06-01 22:35:07 -03:00
Luna e71eba583e make load command own its path memory 2020-06-01 22:34:56 -03:00
Luna f20079b807 disable codepaths not supporting new commands 2020-05-30 22:25:43 -03:00
Luna 3de84b5a23 finish arraylist updates 2020-05-12 17:48:15 -03:00
Luna 0c2cd5638e update because of arraylist api changes 2020-05-12 17:26:46 -03:00
Luna 043556e798 Update README on new env var 2020-04-10 00:20:46 -03:00
Luna 9614b96c71 Add SCRITCHER_RUNNER env var
Closes #13
2020-04-10 00:01:23 -03:00
Luna 8bb09f1573 fixes for latest zig
- arraylist breaking changes
 - mem.separate => mem.split
 - heap.page_allocator
2020-04-09 23:51:33 -03:00
Luna 8261d202bd multiple fixes for latest zig 2020-03-26 16:35:58 -03:00
Luna 182d368363 fix for latest zig 2020-01-14 22:31:20 -03:00
Luna a10416e56f fixes for latest zig 2019-12-08 12:14:31 -03:00
Luna bb501d9c1e repl: add output when leaving from c-d 2019-10-20 13:13:32 -03:00
Luna c75db19523 repl: ignore comments
closes #10
2019-10-20 13:12:49 -03:00
Luna cdca993048 remove 'use-after-free' 2019-10-20 11:59:15 -03:00
Luna a18809eb5b repl: handle when original file doesn't exist 2019-10-20 11:37:11 -03:00
Luna c05be26dbd runner: ignore one arg when its in repl
closes #8
2019-10-06 15:16:41 -03:00
Luna 7cf16f9ffa deinit existing_cmds (not long lived) 2019-10-06 15:12:19 -03:00
Luna 80036c4c0d fix other things related to reading scri file on repl 2019-10-06 15:07:30 -03:00
Luna 66b262beb2 repl: open file as read and append to cmds before open as write
closes #7
2019-10-06 14:39:15 -03:00
Luna cb689c3ade repl: use readline 2019-10-06 10:53:09 -03:00
Luna 8c5f42b3db add quit/q commands to repl 2019-10-05 21:44:44 -03:00
Luna f8814ca94d add assertions about seek state and seek position 2019-10-05 21:42:16 -03:00
Luna 0e323f6631 repl tweaks 2019-09-29 23:57:24 -03:00
Luna 49cc7221b0 fix some clones, finish list of commands for printer 2019-09-10 22:00:07 -03:00
Luna 84d582cfd1 image: open curpath instead of path when cloning 2019-09-10 21:35:22 -03:00
Luna 67c42e39d4 add cloning of Runner and Image + basic Runner REPL logic 2019-09-10 21:31:23 -03:00
Luna 88a73e64d8 better repl logic 2019-09-10 15:44:10 -03:00