aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-06-18 14:06:40 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-06-18 14:06:40 +0200
commit949b11cfa869b9364e0cc00b713e4cc9dc88cdec (patch)
tree15358b43da5b1d1089f2e3c6905d521d7c8a6d1f
parent6d65226144694ff1d40145f7b05488a10162e55a (diff)
Add submodule
-rw-r--r--.gitmodules3
-rw-r--r--basewords.go3
m---------j10
3 files changed, 6 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..47046a5
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "j1"]
+ path = j1
+ url = git@github.com:jamesbowman/j1.git
diff --git a/basewords.go b/basewords.go
index 17ee32d..d9027cd 100644
--- a/basewords.go
+++ b/basewords.go
@@ -52,4 +52,7 @@ var BaseWords = map[string][]ALU{
"up1": {{Opcode: opT, Ddir: 1}},
"down1": {{Opcode: opT, Ddir: -1}},
"copy": {{Opcode: opN}},
+
+ // misc
+ "swapdown": {{Opcode: opN, TtoN: true}, {Opcode, opT, Ddir: -1}},
}
diff --git a/j1 b/j1
new file mode 160000
+Subproject 911439641c002a8f7a6e306ce1b1d3fd4b389fd