summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-06-25 18:56:44 -0700
committerJulian Blake Kongslie2022-06-25 18:56:44 -0700
commit968414044e87be7399f73a01b718b4894bb65e01 (patch)
treeb4ce807d1645d68589028213d9b08d0b496c1b85 /main.cpp
parentTesting some actual support for destinations and custom steps. (diff)
downloadissim-968414044e87be7399f73a01b718b4894bb65e01.tar.xz
Move EvalState and the eval coroutines to a separate header.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 25bd99b..6c0705c 100644
--- a/main.cpp
+++ b/main.cpp
@@ -3,6 +3,7 @@
3#include <optional> 3#include <optional>
4 4
5#include "aisa/aisa.h" 5#include "aisa/aisa.h"
6#include "aisa/eval.h"
6#include "git-tag.h" 7#include "git-tag.h"
7 8
8int main(int argc, const char *argv[]) 9int main(int argc, const char *argv[])
@@ -63,7 +64,7 @@ int main(int argc, const char *argv[])
63 64
64 std::cout << "\n\n\n"; 65 std::cout << "\n\n\n";
65 66
66 auto w = step.eval(state); 67 auto w = state.eval(step);
67 std::cout << "run\n"; w(); 68 std::cout << "run\n"; w();
68 std::cout << "run\n"; w(); 69 std::cout << "run\n"; w();
69 std::cout << "run\n"; w(); 70 std::cout << "run\n"; w();