reviewing atom bundle convention

This commit is contained in:
ed
2026-08-20 19:36:52 -04:00
parent 223d1832eb
commit e2ffe538b6
5 changed files with 108 additions and 155 deletions
+6
View File
@@ -177,3 +177,9 @@
#define atom_offset(F, T) atom_offset_ ## F ## _ ## T
// atom_label is a pure annotation for the metaprogram's offset calculations.
#define atom_label(name) /* atom_label anchor: name */
// WIP: Atoms Assocated closely with each other to form a tape procedure. (Maybe also a phase in a procedure/pipeline?)
#define AtomBundle_(name) Struct_(tmpl(AtomBundle,name))
#define AtomBundle_Len(name) S_(tmpl(AtomBundle,name))/S_(MipsAtom*)
#define AtomBundleEntry_(bundle,entry) tmpl(bundle,entry)