summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'starts/meaning-vm/level1.cpp')
-rw-r--r--starts/meaning-vm/level1.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/starts/meaning-vm/level1.cpp b/starts/meaning-vm/level1.cpp
index 9498ddf..3c1a634 100644
--- a/starts/meaning-vm/level1.cpp
+++ b/starts/meaning-vm/level1.cpp
@@ -7,7 +7,10 @@ using namespace intellect::level1::concepts;
int main()
{
+ std::cout << intellect::level0::allocated() << " allocated" << std::endl;
+
decls(make, linked, habit);
+ std::cout << intellect::level0::allocated() << " allocated" << std::endl;
decls(needs, assumes, makes);
decls(not, topic);
decls(A, B, C);
@@ -61,5 +64,9 @@ int main()
std::cout << apple.dump("dumped", true) << std::endl;
+ std::cout << intellect::level0::allocated() << " allocated" << std::endl;
+ intellect::level0::dealloc(intellect::level0::concepts::allocations(), intellect::level0::concepts::level0allocations());
+ std::cout << intellect::level0::allocated() << " allocated" << std::endl;
+
return 0;
}