xo-interpreter2: + skrepl (read eval print loop)

This commit is contained in:
Roland Conybeare 2026-02-18 01:46:45 -05:00
commit 3c20facb34
6 changed files with 268 additions and 12 deletions

View file

@ -91,6 +91,11 @@ namespace xo {
/** allocator for runtime errors **/
obj<AAllocator> error_allocator() const noexcept;
/** true iff parser is at top-level -> does not contain
* state for a incomplete/partial expression
**/
bool is_at_toplevel() const noexcept;
/** visit vsm-owned memory pools; call visitor(info) for each **/
void visit_pools(const MemorySizeVisitor & visitor) const;