xo-interpreter: plumb initial global symtab so builtins reach parser
This commit is contained in:
parent
2526dcc9b1
commit
79d32b61c6
14 changed files with 57 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue