Commit Graph

91 Commits

Author SHA1 Message Date
ed dbb1367acb oops 2 2025-11-06 19:39:33 -05:00
ed aab3a3f689 oops 2025-11-06 19:25:28 -05:00
ed d7790795dd stuff 2025-11-06 19:23:58 -05:00
ed ac05262c8d finished arena (lottes.c) 2025-11-05 22:21:44 -05:00
ed 3bb46692e1 Update lottes hybrid 2025-11-05 20:43:42 -05:00
ed a7d17a8b70 changes to watl.v0.msvc.c
Made everything internal linkage.
Moved memory operations impl to header section (keeping same loc as I have for the lottes variants).
arena__grow && arena__shirnk lifted to definitions.
2025-11-05 20:00:41 -05:00
ed 7aaf617b3c progress on lottes.c 2025-11-05 00:17:38 -05:00
ed 5e3e8970d8 get rid of register qualifier 2025-11-04 21:35:58 -05:00
ed 8269ea9cc5 added debug early to start testing 2025-11-04 21:23:18 -05:00
ed d9bce18ccb progress on strict lottes version 2025-11-04 21:18:59 -05:00
ed 3554615244 compile fixes (lottes hybrid and msvc) 2025-11-04 16:20:05 -05:00
ed aad7b59179 WIP(untesed, not-compiled): Still curating, Ai code was terrible, scrapping most of it. 2025-11-04 15:17:11 -05:00
ed 9179f77f05 WIP(untesed, not-compiled): Curating varena code for pure lottes c-- variant, misc changes 2025-11-04 14:21:13 -05:00
ed 816ed5debd watl.v0.llvm.lottes.c: Attempted to let Codex LLM do OS and VArena sections via sampling manual prior code.
This is to try to replicate Sebastian Aaltonen "leaf codegen" experience with llms.
I'll have to review/curate it when I get the chance and then correct deviations from the convention.
2025-11-04 02:40:15 -05:00
ed 81328819c6 watl.v0.llvm.lottes.c: Did FArena 2025-11-04 02:07:38 -05:00
ed f437be32e2 WIP: watl.v0.llvm.lottes.c fleshing out 2025-11-03 23:14:40 -05:00
ed 2ff49a188d Add LICENSE
Added a license file for public domain software.
2025-11-01 12:02:30 -04:00
ed 18274f5785 hash64_djb8 -> hash64_fnv1a; kt1l -> ktl and made the populate procedure only for strings + misc changes
For this exercise that doens't need to be generic, kt1cx does the job.
2025-11-01 01:38:37 -04:00
ed 9e4bc141d0 Remove reundeant cell pool slice in kt1cx impl across c and odin versions
wasn't being used, don't plan on using it.
2025-10-12 00:39:06 -04:00
ed 2bbe654047 updated odin's str8_fmt_kt1l 2025-10-10 23:11:46 -04:00
ed f14ef07a98 Updated lottes_hybrid str8__fmt_kt1l 2025-10-10 22:05:05 -04:00
ed e49fc3964f Improved str8__fmt_kt1l (watl.v0.msvc.c), need to propogate change to other versions 2025-10-10 21:29:21 -04:00
ed 2bf18e8241 Making adjustments to C versions, update readme 2025-10-10 20:47:38 -04:00
ed 7949d2ba5f Remove gencpp_c11 for now (not using yet, maybe I'll do a truncated version)
Prepparing to explore Lottes's C-- more, also how crufty it looks in odin.
2025-10-10 19:28:36 -04:00
ed e2aba6db5f adjustments based on superluminal 2025-10-03 23:13:04 -04:00
ed af38cda276 C-- lottes: drafting pass: removed all usages of star "*" dereference operator 2025-10-03 22:46:21 -04:00
ed 8df492399f Got lottes c-- version working 2025-10-03 22:09:11 -04:00
ed 2c0539e235 finish draft of lottes c-- veersion 2025-10-03 19:59:15 -04:00
ed 3223c0a0e1 Lottes C--: key tables... 2025-10-03 17:03:33 -04:00
ed 0bd68bccf0 lottes c--: arena impl 2025-10-03 16:18:03 -04:00
ed 5f03118a0d got to varenas (lottes c--)
Still not sure how hybrid I'm going to go (away from his more purist stance on typed info embedding).

If I were to codegen this and wanted typeless vs typed for debug it would be easier to malleablly switch between...
If I decide for this sample to go full asm (no C features almost we can still keep the type info for debug...
2025-10-03 15:56:42 -04:00
ed 288d661d65 started to work on c-- lottes impl 2025-10-03 03:19:50 -04:00
ed 40ee07e3cc finished header port for lottes c-- 2025-10-03 03:04:40 -04:00
ed c5d19ae25b more crimes 2025-10-03 02:00:54 -04:00
ed c8f0b34daf commiting more crimes with Lottes like 2025-10-03 01:46:28 -04:00
ed fc032da21e Started to setup watl to mess around with lotte's C--
Not going to use GCC, too much of a pain in the ass on windows.
Going to do a slightly flavored dialect to make things a bit easier to translate...
2025-10-03 00:49:40 -04:00
ed ae8cd03e3d minor changes based on using similar defs in the pikuma ps1 course. 2025-09-15 08:57:53 -04:00
ed fd045fa9d9 watl.v0.win32.odin runtime works! 2025-07-29 23:53:56 -04:00
ed f00b647227 working on rdi listing 2025-07-25 13:43:44 -04:00
ed 21714571f9 fixes 2025-07-25 02:25:23 -04:00
ed 21a1bac8cd woops 2025-07-25 01:56:56 -04:00
ed fc76b065fd rename odin v0 to win32 (since its technically just to compare with msvc c11 file 2025-07-25 01:55:52 -04:00
ed 01a3a14667 misc maint 2025-07-25 01:40:56 -04:00
ed 1de7a7e750 finished drafting odin version (testing later) 2025-07-25 01:10:55 -04:00
ed 9b6cc12f44 finished watl draft impl (just need main now) 2025-07-25 00:42:03 -04:00
ed d8bdbc97ea Odin: api_watl_lex (forgot slice constraint enforce changes) 2025-07-24 23:40:04 -04:00
ed 996693bb34 Odin: api_watl_lex 2025-07-24 23:36:49 -04:00
ed 9fda8b356d fix slice continuity constraint enforcement 2025-07-24 23:23:20 -04:00
ed c726b31c19 Odin: Finished file system impl 2025-07-20 21:23:15 -04:00
ed 44115f95f9 prepared filesystem foreign defs for impl 2025-07-20 20:50:02 -04:00