xo-interpreter2: + report_memory_use() built-in

This commit is contained in:
Roland Conybeare 2026-02-28 13:29:05 +11:00
commit a41ff13f09
2 changed files with 52 additions and 8 deletions

View file

@ -100,6 +100,9 @@ namespace xo {
/** visit vsm-owned memory pools; call visitor(info) for each **/
void visit_pools(const MemorySizeVisitor & visitor) const;
/** install hardwired functions into global {symtab,env} **/
void install_core_primitives();
/** begin interactive session. **/
void begin_interactive_session();
/** begin batch session **/