Commit Graph

94 Commits

Author SHA1 Message Date
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
zongor 16117b9a3a add hashmap as macro, Q16.16 -> float (implement later), general cleanup 2025-06-19 19:02:03 -04:00
zongor fd9516bf7e change back to MIT since using some stuff from craftingintepreters 2025-06-15 15:54:49 -04:00
zongor 0d958be440 add parser, compiler, breakout opcodes, fix test 2025-06-14 22:57:19 -04:00
zongor 697b6de2ff add parser, fix comments 2025-06-14 19:05:19 -04:00
zongor 447886b037 add license header 2025-06-14 18:50:39 -04:00
zongor 6956ffa83e update documentation to newest impl 2025-06-14 15:55:03 -04:00
zongor 8f6af5de8c update example, update spec to follow new vm 2025-06-14 15:38:31 -04:00
zongor 6f5d9931d0 fix docs (forgot Dis) 2025-06-14 15:27:00 -04:00
zongor ada524e6a4 fix docs (again) 2025-06-14 15:24:42 -04:00
zongor 6d2e31aa24 fix docs 2025-06-14 15:23:40 -04:00
zongor 70a6de687f fix documentation, wrong license 2025-06-14 15:19:39 -04:00
zongor 29a6a3d471 refactor to reduce repeats 2025-06-14 14:54:38 -04:00
zongor bf2609c6ee add uint toS 2025-06-14 14:48:11 -04:00
zongor d9ab352c68 small fixes 2025-06-14 14:42:25 -04:00
zongor e8d0cd5e96 add Q16.16 real, uint32, and int32 opcodes 2025-06-14 14:38:04 -04:00
zongor 0cd92bb919 add emscripten wasm 2025-06-14 11:44:36 -04:00
zongor 381b6ebb9a add magic to binary 2025-06-14 11:34:35 -04:00
zongor 838f3800cb refactor to step intead of loop 2025-06-14 11:30:27 -04:00
zongor 4cb02c41d0 add float and int == 2025-06-14 00:14:00 -04:00
zongor d4d887e6a1 add float and int >,<,>=,<= 2025-06-14 00:10:24 -04:00
zongor dc89a24701 move dump to debug 2025-06-13 21:50:43 -04:00
zongor 5107ac5df8 add direct char casting 2025-06-13 19:13:47 -04:00
zongor 6b7beadaeb fix string handling 2025-06-13 16:22:37 -04:00
zongor bb9e30a1c1 begin breaking up into modules, add wasm 2025-06-11 22:41:49 -04:00
zongor 244baf55f1 fix endianess 2025-06-08 23:45:54 -04:00
zongor 39b6a1f15f add int2float and float2int conversion ops 2025-06-08 23:26:42 -04:00
zongor af01b5afae quick-n-dirty num to str 2025-06-08 18:07:19 -04:00
zongor a1c74760a1 add fat pointers for strings, update makefile, test 2025-06-08 16:41:53 -04:00
zongor 2817e940e1 delete test, add combined type 2025-06-08 15:24:43 -04:00
zongor cdf21dd5cf add more opcodes to test mem2mem 2025-06-08 12:20:55 -04:00
zongor 5d15aa1c57 fix minor things, add inital opcode, add mem2mem test 2025-06-08 00:30:52 -04:00
zongor f1f84e0fe5 formatting 2025-06-01 00:01:27 -04:00
zongor a6e254a100 gui example, server socket example 2025-05-31 23:56:51 -04:00
zongor 96785dcd22 Update README.org 2025-05-24 23:42:33 -04:00
zongor 86275db2b1 Update README.org 2025-05-24 23:41:55 -04:00
zongor 183e3d5400 Update README.org 2025-05-24 23:41:08 -04:00
zongor f4cf1a457a update readme, spec, example 2025-05-24 23:27:01 -04:00
zongor 775a3aef4b use vec3 2025-05-17 22:39:35 -04:00
zongor ffbf044734 refine language a bit 2025-05-17 22:37:45 -04:00
zongor 52c33178d3 start from scratch with own code 2025-05-11 18:54:31 -04:00
zongor ae665d89ed migrate old compiler, hack on that instead 2025-05-04 14:51:38 -04:00
zongor 9d65790e5d add logical ops, add numbers 2025-05-04 14:08:21 -04:00
zongor bf38431165 add scanner, compiler 2025-05-04 12:55:28 -04:00
zongor fb6cc45f83 add math ops 2025-05-03 23:39:57 -04:00
zongor 5a1a399d4f add vm 2025-05-03 23:18:20 -04:00