xo-interpreter: setting up for gc in interactive interpreter
This commit is contained in:
parent
37b132821f
commit
8c11c108ca
12 changed files with 154 additions and 42 deletions
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
reader::reader(bool debug_flag)
|
||||
: parser_{debug_flag}
|
||||
reader::reader(bool debug_flag) :
|
||||
tokenizer_{debug_flag}, parser_{debug_flag}
|
||||
{}
|
||||
|
||||
void
|
||||
|
|
@ -118,7 +118,7 @@ namespace xo {
|
|||
}
|
||||
}
|
||||
|
||||
/* control here: eithero
|
||||
/* control here: either
|
||||
* 1. input.empty (perhaps ate some whitespace, ok)
|
||||
* 2. missing or incomplete token (ok unless eof)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue