Commit Graph

57 Commits

Author SHA1 Message Date
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_
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_
01a3a14667 misc maint 2025-07-25 01:40:56 -04:00
Ed_
9b6cc12f44 finished watl draft impl (just need main now) 2025-07-25 00:42:03 -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_
70518120f8 finished translating string operations to odin (next is file system) 2025-07-20 19:59:22 -04:00
Ed_
26a4511701 finsihed str8_fmt_kt1l
Liking how the slices are now
2025-07-19 20:40:07 -04:00
Ed_
18908d3c21 refining and musing usage of slices 2025-07-19 18:58:57 -04:00
Ed_
b1fecbfebc musing usage of slices in odin 2025-07-19 16:58:13 -04:00
Ed_
3b9fdf56a9 progress on odin ver, some adjustments to c version 2025-06-27 20:30:09 -04:00
Ed_
8fe05e0fb8 improvements to save point usage in Arena allocators 2025-06-26 00:59:42 -04:00
Ed_
618cfd396b odin progress 2025-06-25 10:13:20 -04:00
Ed_
60830ddd15 c file trailing whitespace remvoval 2025-06-25 02:08:08 -04:00
Ed_
ff2d504977 correction to version used on header comment 2025-06-14 11:13:06 -04:00
Ed_
c88c614b84 finalize V0 2025-06-14 01:28:27 -04:00
Ed_
4430477658 watl.v0.msvc.c working 2025-06-14 00:00:35 -04:00
Ed_
649056e0b9 progress
need to debugt dump listing
2025-06-01 18:51:57 -04:00
Ed_
798312dbaf progressssssss 2025-06-01 01:36:59 -04:00
Ed_
93a71dc702 progress 2025-05-31 22:14:47 -04:00
Ed_
e678b15d11 progress 2025-05-31 16:29:42 -04:00
Ed_
9b19fb69c9 progress
will be removing str8cache from the v0 and moving that to a another version.

I want to maybe test using llms to remove code defs for this exercise.
2025-05-31 15:33:00 -04:00
Ed_
2291a3aae5 ct bug fixing 2025-05-29 01:49:41 -04:00
Ed_
12c9cba390 ready for testing 2025-05-29 01:36:24 -04:00
Ed_
75dc114890 progress 2025-05-28 23:49:57 -04:00
Ed_
6e2bda94ef add gencpp_c11 2025-05-28 22:15:40 -04:00
Ed_
d1e5fc6aac progress 2025-05-28 22:15:33 -04:00