diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/common.sts | 2 | ||||
-rw-r--r-- | common/const.sts | 10 | ||||
-rw-r--r-- | common/macro.sts | 9 |
3 files changed, 21 insertions, 0 deletions
diff --git a/common/common.sts b/common/common.sts new file mode 100644 index 0000000..cc5f5ee --- /dev/null +++ b/common/common.sts @@ -0,0 +1,2 @@ +module common/macro.sts +module common/const.sts diff --git a/common/const.sts b/common/const.sts new file mode 100644 index 0000000..b2e9f31 --- /dev/null +++ b/common/const.sts @@ -0,0 +1,10 @@ +defconst '0' 30 +defconst '1' 31 +defconst '2' 32 +defconst '3' 33 +defconst '4' 34 +defconst '5' 35 +defconst '6' 36 +defconst '7' 37 +defconst '8' 38 +defconst '9' 39 diff --git a/common/macro.sts b/common/macro.sts new file mode 100644 index 0000000..f8620d5 --- /dev/null +++ b/common/macro.sts @@ -0,0 +1,9 @@ +[ local 1 + top as %1% +] + +[ change 0 + dup get + swap 2 get swap 2 + set + swap drop +] |