better smosym desc

This commit is contained in:
Richard Thier 2024-09-29 02:08:52 +02:00
parent 560ac9e29e
commit 3bee2537bd

12
main.c
View File

@ -11,13 +11,15 @@ symptr nopsym(SLC_SYM_OP op, slc_tmp_charptr key, symptr ptr) {
ret.worp = NULL; ret.worp = NULL;
return ret; return ret;
// TODO: Create a "peasantly" symbol table where we have: // TODO: Create a "peasantly" symbol table where we have:
// - length // - 32 length
// - previndex // - 32 previndex
// - nextindex // - 32 nextindex
// - char* name inline stored // - char* name inline stored
// - padding (divisible by 4)
// //
// Then I can do a lookup basically via strstr // Then I can do a lookup basically via strstr-like (but 4byte steps!)
// and check validity by jumping back&forth a bit. // with first few characters zero-padded in the search term parameter
// and if you want check extra validity by jumping back&forth in it.
} }
uint32_t nopstack(SLC_STACK_OP op, uint32_t param) { uint32_t nopstack(SLC_STACK_OP op, uint32_t param) {