Commit Graph

83 Commits

Author SHA1 Message Date
zongor f476b74c3f add initial stuff, is very broken because of overflows 2025-09-07 09:57:57 -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
zongor 49f7189470 forgot to add this back 2025-07-08 22:02:46 -04:00
zongor fefc9e803a throwing away a bunch of stuff, lets do the whole compiler inside the VM 2025-07-08 21:59:56 -04:00
zongor 7ec2f90d38 add function example 2025-07-05 23:29:07 -04:00
zongor c63d149bdb removed accidental copy 2025-07-05 19:11:36 -04:00
zongor 2f0d841d8d update test examples 2025-07-05 19:10:32 -04:00
zongor 270eef83a2 rename to make more clear 2025-07-05 16:59:51 -04:00
zongor 7bff3208a0 fix str 2025-07-05 16:38:42 -04:00
zongor f28dd417d9 pretty sure strings are still broken, but it runs at least 2025-07-05 15:54:33 -04:00
zongor bcc61a93eb WIP (untested) automatic string allocation, function call/return 2025-07-05 14:59:09 -04:00
zongor 0263d1511d WIP function calls 2025-07-05 12:40:33 -04:00
zongor aab4c887ca add call frames, refactor to allow call frames to work, add debug 2025-06-27 13:06:06 -04:00
zongor f909071287 Cleanup some stuff 2025-06-22 15:03:25 -04:00
zongor a741a0c992 update docs, fix float jmp 2025-06-22 10:57:15 -04:00
zongor 457c77b6ab update documentation 2025-06-21 23:32:41 -04:00
zongor d27d4259aa convert to register based instead of mem2mem 2025-06-21 23:20:29 -04:00