Lots more code written, and I think most of it's OK; but it doesn't compile yet.

This commit is contained in:
Simon Brooke 2026-03-26 09:01:46 +00:00
parent 604fca3c24
commit 6c4be8f283
19 changed files with 634 additions and 7 deletions

31
src/c/memory/node.h Normal file
View file

@ -0,0 +1,31 @@
/**
* memory/node.h
*
* Top level data about the actual node on which this memory system sits.
* May not belong in `memory`.
*
* (c) 2026 Simon Brooke <simon@journeyman.cc>
* Licensed under GPL version 2.0, or, at your option, any later version.
*/
#ifndef __psse_memory_node_h
#define __psse_memory_node_h
/**
* @brief The index of this node in the hypercube.
*
*/
extern int node_index;
/**
* @brief The canonical `nil` pointer
*
*/
extern struct pso_pointer nil;
/**
* @brief the canonical `t` (true) pointer.
*
*/
extern struct pso_pointer t;