Commit Graph

78 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_
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
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_
39e04230d6 change pragma region format for comments 2025-06-30 09:10:30 -04:00
Ed_
8753d41e83 progress on str8_fmt_kt1l (taking break) 2025-06-27 20:39:13 -04:00
Ed_
3b9fdf56a9 progress on odin ver, some adjustments to c version 2025-06-27 20:30:09 -04:00
Ed_
3194728059 Arena draft impl 2025-06-27 10:50:28 -04:00
Ed_
45cfb9c3e5 farena, os, & varena draft implementation 2025-06-27 10:05:08 -04:00
Ed_
83b511f138 fleshing out odin ver more 2025-06-26 01:01:24 -04:00
Ed_
8fe05e0fb8 improvements to save point usage in Arena allocators 2025-06-26 00:59:42 -04:00
Ed_
53e8266931 progress on odin scaffolding 2025-06-25 17:03:28 -04:00
Ed_
618cfd396b odin progress 2025-06-25 10:13:20 -04:00