Commit Graph

18 Commits

Author SHA1 Message Date
zongor 5bf3b12f62 Add examples for fixing locals to be dynamically allocated from the end of memory. This should allow for recursion and better handling in general. 2026-05-07 22:25:55 -07:00
zongor 86922ed86b newlines for if/while 2026-04-29 00:00:22 -07:00
zongor 3ac64d18a0 add while loops 2026-04-28 23:22:57 -07:00
zongor ab5a7ee185 add if / else statements 2026-04-27 22:02:37 -07:00
zongor 46336105aa fix string emit 2026-04-23 00:09:00 -07:00
zongor fbfb24d1e5 fix casting, add strings, add libundar for uxntal, add chibicc-uxn generator files, 2026-04-23 00:01:11 -07:00
zongor cf1f665e56 Add and, or, xor, mod, sll, srl, locals, putchar, getchar, simple if (WIP) 2026-04-22 00:15:31 -07:00
zongor 38585bf105 Add arena return to libc, add strbuf, add reality engine rom emitter, remove C emitter 2026-04-20 23:24:38 -07:00
zongor 20f44d6ad8 Make arena global 2026-04-16 20:49:59 -07:00
zongor 656424c9d1 Add StrBuf implementation, fix bug in `areturn` need to zero out the end of memory for strings. 2026-04-16 19:50:42 -07:00
zongor ecc69ea144 Update plex example, use lib instead of static header 2026-04-15 16:28:45 -07:00
zongor e802fc3779 rename parser to compiler, update build, change c to c99 so we can emit different versions, create a libundar for the emit-c99, update tests. 2026-04-11 16:03:53 -07:00
zongor d11bad79ec split tests into global and local 2026-04-10 23:03:54 -07:00
zongor 9d7fdbb622 Add global variables 2026-04-10 22:52:19 -07:00
zongor 8e430a9d46 merge emitters, add uxn emitter, update c emitter, update simple to use raw ascii for example 2026-04-08 22:29:47 -07:00
zongor b4512f2434 update example to match 2026-04-07 12:05:56 -07:00
zongor c128b97ad5 move example code to .h file 2026-04-07 12:01:05 -07:00
zongor b332ecf06d WIP: c emitter, uxn emitter, parser, compiler, examples, cleanup 2026-04-07 00:13:31 -07:00