xo-interpreter: plumb initial global symtab so builtins reach parser

This commit is contained in:
Roland Conybeare 2025-11-27 11:50:34 -05:00
commit 79d32b61c6
14 changed files with 57 additions and 23 deletions

View file

@ -46,10 +46,11 @@ main() {
using span_type = xo::scm::span<const char>;
bool interactive = isatty(STDIN_FILENO);
bool c_debug_flag = false;
reader rdr(c_debug_flag);
auto toplevel_symtab = GlobalSymtab::make_empty();
reader rdr(toplevel_symtab, c_debug_flag);
rdr.begin_interactive_session();
string input_str;