Commit Graph

7 Commits

Author SHA1 Message Date
Kitty-Cricket Piapiac f256e7cd1f fix compile warnings on freebsd 2023-06-27 02:00:04 -07:00
Kitty-Cricket Piapiac f25f1b8176 as:absorb`libu',fix,fmt,switch from table to BST
this mostly switches from using a resizeable hash table to store macros
and whatnot to using a binary search tree (i was having some heisenbugs
with the hash table that i didn't really feel like debugging it).
a BST has a simpler implementation and uses a bit less memory, however
it is potentially slower (O(log n) vs O(1)) & less cache performant

however, currently i care more about ease of implementation so i can
muck about with my impl without running into bugs. when i care more
about performance i will probably revert this change (or rewrite a
working hash table), but not without benchmarks
2023-04-13 14:32:50 -07:00
Kitty-Cricket Piapiac 4a2f26ac46 as:add relative addresses (^ literal)
{d/kmm32-as,s/vim}:{document,highlight} ^ literal

this allows us to create relative addresses easily
eg. `pr ^l ju :l ;` & `pw @l ju :l ;` are equivelant

this also enables us to easily make pascal-style (?)
length-prefixed strings, given the string size is <127:
`:str ^l "meow" :l ; ;`
2023-04-03 01:16:56 -07:00
Kitty-Cricket Piapiac 48a9197068 as:fix -inc bug&fmt 2023-03-29 13:40:32 -07:00
Kitty-Cricket Piapiac 9b85fb2c56 liba:xcd 2023-03-21 13:46:10 -07:00
Kitty-Cricket Piapiac ba5bc4cc2e as:add -emb,kip-io:actually add disk 2023-03-21 13:29:33 -07:00
Kitty-Cricket Piapiac d3df23a43d restructure 2023-03-17 14:25:20 -07:00
Renamed from t/t.h (Browse further)