Commit Graph

98 Commits

Author SHA1 Message Date
zongor 91061fe3c0 First working prototype for assembler! 2025-09-21 12:38:18 -07:00
zongor 3453b0fcd6 parser fixes 2025-09-21 10:09:14 -07:00
zongor 37ce661648 Add Linux TUI example 2025-09-21 16:23:26 +00:00
zongor 299e36172b add newline for test, (terminal sometimes clears output without '\n') 2025-09-21 09:18:53 -07:00
zongor f6a2cd8de9 fix syscall, update opcodes, fix tests 2025-09-21 09:15:25 -07:00
zongor a1266b9008 fix tests, add lips benchmarks 2025-09-20 14:55:47 -07:00
zongor df9d19207c Reorganize, add tools for parser 2025-09-20 13:49:13 -07:00
zongor 922959191d cleanup / prepwork for assembler. 2025-09-20 12:49:01 -07:00
zongor 2d72240652 add branchless jmps 2025-09-20 10:05:52 -07:00
zongor cf0318e96f rename acc -> flag since it really doesnt accumulate anything, could be confusing to devs 2025-09-20 08:46:09 -07:00
zongor b8832a7116 Fix the syscalls, add strlen as an opcode 2025-09-20 08:44:02 -07:00
zongor dd7cc62a3e Refactor to varied length opcodes, update structure, fix Makefile, WIP: number toS 2025-09-17 23:16:38 -07:00
zongor 94a1375d51 Move some things, fix string to number 2025-09-09 22:50:03 -07:00
zongor 7634bbe1c9 cleanup, add more stringops 2025-09-09 21:53:52 -07:00
zongor 75ad08dae1 Forgot to remove this one 2025-09-09 21:16:33 -07:00
zongor 770d9d56ff Cleanup, get rid of all the prototyping stuff 2025-09-09 21:15:39 -07:00
zongor fde5c82d0d WORKING DEVICES!! 2025-09-02 22:57:48 -07:00
zongor 252c9614c0 small fixes, make default a noop 2025-08-31 12:59:29 -07:00
zongor ab5bc87908 add initial device implementation 2025-08-31 12:56:59 -07:00
zongor 744f2d526b Add OP_GET_PC to implement coroutines/yield in stdlib later. 2025-08-31 10:14:32 -07:00
zongor aa16b6b348 update opcodes to handle memory better 2025-08-30 10:17:38 -07:00
zongor 6be5a4d3f9 fix tests 2025-08-30 07:56:08 -07:00
zongor 43ebed6553 update to opcodes, go with tunnels and syscals, partial refactor of memory, try out fixed size again 2025-08-29 22:02:19 -07:00
zongor 0dedf5a2ad add better testing, flags, fix fib.zrl 2025-08-24 08:45:31 -07:00
zongor f1edd4267f fix loop compile 2025-08-24 00:06:24 -07:00
zongor 8aeeebc351 WIP change to store primitives in memory intead of code 2025-08-23 21:29:46 -07:00
zongor b21de2d1fc fixes, cleanup, type -> plex 2025-08-17 19:32:19 -07:00
zongor 63d67b5c0d move sdl to own thing, add array + plex handling 2025-08-16 21:51:23 -04:00
zongor f6484ff378 Fix makefile, remove hello world test because now can compile it. 2025-08-03 18:09:20 -04:00
zongor 14bf533635 nuqneH 'u'? 2025-08-03 17:46:39 -04:00
zongor 881c6c7740 remove doc 2025-08-03 16:03:50 -04:00
zongor c348ea3fdd add initial compiler 2025-08-03 16:03:25 -04:00
zongor 039de2a761 revert, maybe do this later its complicated enough as it is 2025-08-02 22:23:39 -04:00
zongor 933c76dc06 wip move to byte model 2025-07-29 23:51:41 -04:00
zongor 4fccd4d48d remove temporary malloc 2025-07-28 23:13:39 -04:00
zongor 7e6a063bdb fix lexer 2025-07-27 21:07:39 -04:00
zongor 88dfbb098d start working on lexer 2025-07-27 13:11:44 -04:00
zongor 9326d12585 add lisp examples 2025-07-20 23:40:15 -04:00
zongor 02702315cb new str embedding fn 2025-07-20 21:16:32 -04:00
zongor c43761a8da add zlc benchmarks 2025-07-20 19:12:41 -04:00
zongor 5184b60136 split up code and memory 2025-07-20 11:17:28 -04:00
zongor 035397209d add more devices 2025-07-20 10:00:38 -04:00
zongor a9f3ec694c add string example 2025-07-19 20:20:28 -04:00
zongor 6b23fd2119 add sdl2 demo 2025-07-13 12:44:39 -04:00
zongor 27d9c3a686 break up into arch 2025-07-13 10:56:02 -04:00
zongor 66adb19578 cleanup 2025-07-13 09:35:11 -04:00
zongor 3e46c04513 add more examples 2025-07-13 00:12:27 -04:00
zongor 67a74f3417 more benchmarks 2025-07-12 23:51:45 -04:00
zongor 7598a93b31 add recursion, add benchmarks 2025-07-12 23:14:23 -04:00
zongor 19a69d3be5 fix jumps to be less weird 2025-07-10 21:46:29 -04:00