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.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/starts/meaning-vm/level1.cpp b/starts/meaning-vm/level1.cpp
index 9dee4a7..ae70b5a 100644
--- a/starts/meaning-vm/level1.cpp
+++ b/starts/meaning-vm/level1.cpp
@@ -15,26 +15,26 @@ int main()
decls(structure, function, argument, position);
decls(variable, provide);
- (make-linked).link({
+ (make-linked).link(
is, habit,
- needs, a(structure).link({
+ needs, a(structure).link(
is, function-argument,
argument-position, ref(1),
a(variable, A), provide,
a(variable, B), provide,
a(variable, C), provide
- })
- });
- movetoname(a(link), A-B-C-linked).link({
+ )
+ );
+ movetoname(a(link), A-B-C-linked).link(
link-source, A,
link-type, B,
link-target, C
- });
+ );
a(not, not-A-B-C-linked).set(topic, A-B-C-linked);
- (make-linked).link({
+ (make-linked).link(
assumes, not-A-B-C-linked,
makes, A-B-C-linked
- });
+ );
std::cout << (make-linked).dump("dumped", true) << std::endl;