From c8bb547bea279af2bb48c13260f98aa8add07131 Mon Sep 17 00:00:00 2001 From: olpc user Date: Fri, 10 Jan 2020 14:55:19 -0800 Subject: move intellect-framework-from-internet into folder --- starts/meaning-vm/meaning.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 starts/meaning-vm/meaning.cpp (limited to 'starts/meaning-vm/meaning.cpp') diff --git a/starts/meaning-vm/meaning.cpp b/starts/meaning-vm/meaning.cpp deleted file mode 100644 index a47a0ce..0000000 --- a/starts/meaning-vm/meaning.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "meaning.hpp" - -#include "helpers.hpp" - -ref avariable(ref name) -{ - declrefs(variable); - return a(variable, name); -} - -ref link(ref sourceref, ref typeref, ref targetref) -{ - declrefs(link, source, type, target); - lnks(link-source, link-type, link-target); - return a(link)[ - link-source = sourceref, - link-type = typeref, - link-target = targetref - ]; -} - -ref not(ref whatref) -{ - declrefs(not); - decllnks(what); - return a(not, not-whatref)[what] = whatref; -} -- cgit v1.2.3