1
0
Fork 0
Commit Graph

261 Commits

Author SHA1 Message Date
zongor ed79ee82d7 update documentation 2025-12-20 12:42:10 -08:00
zongor c8ac22ccc2 Merge pull request 'feature/compiler' (#1) from feature/compiler into main
Reviewed-on: zongor/undar-lang#1
2025-12-20 15:29:13 -05:00
zongor a63443bbd4 Merge branch 'main' into feature/compiler 2025-12-20 15:29:00 -05:00
zongor 2bb1166085 Make compiler as iterations on the assembler 2025-12-20 12:24:52 -08:00
zongor 4114812146 Update assembler to add scopes 2025-12-20 00:42:28 -08:00
zongor 0fd2656704 Code cleanup 2025-12-08 21:43:56 -08:00
zongor 80d9c67b9e Code cleanup 2025-12-08 21:42:59 -08:00
zongor edb10db545 Fix documentation 2025-12-07 15:31:41 -08:00
zongor 0d30ea292a Fix assembler, update tests, update roms, add back nogui mode for speed. 2025-12-07 15:29:49 -08:00
zongor 07528b1f3f fix silly missing `get_reg` error. all non gui ones are working now 2025-12-03 21:45:03 -08:00
zongor 9218051b87 Add better debugging for assembler. Simplify symbol table creation (somewhat). 2025-12-01 23:20:36 -08:00
zongor f901dafa2b WIP Code generation, 'simple' works 2025-11-30 23:22:25 -08:00
zongor 2e5eb03227 remove old assembler, finish symbol table pass, start working on code gen 2025-11-29 19:44:54 -08:00
zongor 733dfc0364 wip, add all the sizing for symbols 2025-11-29 13:52:12 -08:00
zongor 89a17f06f0 start making changes to init_vm 2025-11-29 10:50:29 -08:00
zongor b638fedd81 Update readme 2025-11-29 09:26:35 -08:00
zongor 55b6145064 Add semicolon 2025-11-29 09:21:12 -08:00
zongor 32ae0eeb8f fix readme 2025-11-29 08:28:17 -08:00
zongor 9d2053aef0 wip symbol table, remove malloc_imm, fix docs 2025-11-29 08:26:12 -08:00
zongor 4f73339efb wip symbols + offsets 2025-11-29 00:50:25 -08:00
zongor 7b8059e6c7 refactor strings, add loop to lexer 2025-11-24 21:40:57 -08:00
zongor 6f47ee7ea1 wip new assembler; start of compiler 2025-11-23 23:48:26 -08:00
zongor 96deaa9ff7 more syntax refinement 2025-11-22 13:52:31 -08:00
zongor 32365a8895 wip assembler v2 2025-11-10 23:45:09 -08:00
zongor 0113411f89 rename some things, create new parser defs. 2025-11-09 22:23:55 -08:00
zongor c90f236ab3 Refactor and rename to align with new IR better 2025-11-09 13:22:46 -08:00
zongor 99e2f2c0c3 some experimental syntax 2025-11-08 23:44:42 -08:00
zongor a1197e8b43 fix small bug 2025-11-08 22:29:32 -08:00
zongor 1311659bed Add new IR language, update docs 2025-11-08 22:19:18 -08:00
zongor 5d2aa1ad22 wip compiler stuff 2025-11-04 17:09:55 -08:00
zongor c5041f88e7 Update .gitattributes 2025-11-03 16:39:45 -05:00
zongor edb00d0a4c fix spelling 2025-10-26 14:52:48 -07:00
zongor 739c3638a6 Code cleanup, add halt return type, add neg and abs ops, fix strings, 2025-10-26 14:49:00 -07:00
zongor feaebcec1d update all the high level test files 2025-10-25 21:58:37 -07:00
zongor 32c0c5611f Update tests and roms to new device handling 2025-10-25 21:48:12 -07:00
zongor c80481de76 Update devices to use file descriptor rather than handel. Create REFRESH syscall 2025-10-25 21:39:13 -07:00
zongor 47d5bdd1d9 Setup demos for new compiler. 2025-10-25 13:59:05 -07:00
zongor de9ab028b5 Dark mode for web, documentation updates 2025-10-25 12:57:14 -07:00
zongor 421cceba23 update examples in readme 2025-10-25 12:15:18 -07:00
zongor 5d8688446e update paint programs 2025-10-25 12:13:37 -07:00
zongor 54fc748d8d Some optimizations, also WIP paint program refactor 2025-10-25 11:03:23 -07:00
zongor 3be8761930 WIP passing args and returning values from a function call. Updates to documentation, update logo 2025-10-24 23:04:05 -07:00
zongor 790d7e8509 Add intial lexer back again, fix docs 2025-10-18 18:15:54 -07:00
zongor 6c1bf1ff8c Fix tests, make auto compile for rom files 2025-10-18 16:54:06 -07:00
zongor 89ef394888 normalize naming, add memory offset opcodes 2025-10-18 14:54:13 -07:00
zongor d69b83f4eb Update devices to use plexes instead of raw memory 2025-10-17 16:11:20 -07:00
zongor 3f3c6e1b80 [wip] rewrite device open to use plex 2025-10-16 09:25:34 -07:00
zongor 9d30ffb69b use minimal shell 2025-10-14 15:39:03 -07:00
zongor 0c72525755 Emscripten Paint Works!!!!!! 2025-10-14 15:27:29 -07:00
zongor dcf348f577 remove string lookup for devices use handles instead 2025-10-14 00:02:12 -07:00