Diff
Not logged in

Differences From Artifact [e659b2cb410288fd]:

To Artifact [cbf6e2570b5a90b0]:


10 10 import std.array; 11 11 import polemy.value; 12 12 import polemy.failure; 13 13 import polemy.layer; 14 14 import polemy.parse; 15 15 import polemy.ast; 16 16 import polemy.eval; 17 +import polemy.runtime; 17 18 18 19 enum VersionNoMajor = 0; 19 20 enum VersionNoMinor = 1; 20 21 enum VersionNoRev = 0; 21 22 22 23 /// Read-Eval-Print-Loop 23 24 ................................................................................ 24 25 class REPL 25 26 { 26 27 Evaluator ev; 27 28 /// Load the prelude environment 28 29 this() 29 30 { 30 31 ev = new Evaluator; 32 + enrollRuntimeLibrary(ev); 31 33 } 32 34 33 35 /// Print the version number etc. 34 36 void greet() 35 37 { 36 38 writefln("Welcome to Polemy %d.%d.%d", VersionNoMajor, VersionNoMinor, VersionNoRev); 37 39 }