Diff
Not logged in

Differences From Artifact [b6f89f38f0a1626d]:

To Artifact [d5ef45952651bda8]:


47 { 47 { 48 writef(">> ", lineno); 48 writef(">> ", lineno); 49 string line = readln(); 49 string line = readln(); 50 if( line.startsWith("exit") || line.startsWith("quit") ) 50 if( line.startsWith("exit") || line.startsWith("quit") ) 51 return false; 51 return false; 52 try { 52 try { 53 if( tryRun(line) ) 53 if( tryRun(line) ) > 54 { > 55 // for debugging. > 56 //try { > 57 // writeln(tableToAST("@v", cast(Table)last > 58 //} catch(Throwable e) { > 59 // writeln(e); > 60 //} 54 writeln(lastVal); 61 writeln(lastVal); > 62 } 55 } catch(Throwable e) { 63 } catch(Throwable e) { 56 writeln(e); 64 writeln(e); 57 } 65 } 58 return true; 66 return true; 59 } 67 } 60 } 68 } 61 69