There is no obvious place to put the handling of import-declarations. A new datatype in Declaration in the AST would preferably be used, thus making the import available in the interpreter. A problem arises from this due to the fact that it's the REPL (loli.lp) that handles loading of files and not the actual interpreter.
There is no obvious place to put the handling of import-declarations. A new datatype in Declaration in the AST would preferably be used, thus making the import available in the interpreter. A problem arises from this due to the fact that it's the REPL (loli.lp) that handles loading of files and not the actual interpreter.