summaryrefslogtreecommitdiff
path: root/examples/power.int
diff options
context:
space:
mode:
authorTom Harley2020-01-11 19:46:15 +0000
committerTom Harley2020-01-11 19:46:15 +0000
commit9e87372371794bc3e7d46698141966c00acaad0e (patch)
tree068da13d97cefed2e49ab06843e1dd9d97c32f6a /examples/power.int
parentAdded int width specifiers (diff)
downloadsinter-9e87372371794bc3e7d46698141966c00acaad0e.tar.gz
sinter-9e87372371794bc3e7d46698141966c00acaad0e.zip

Tidying up

  • Removed unused example files
  • Removed redundant common.c
  • Added extra files to make sure the current version compiles the nqueens solution correctly
  • Added extensionless files to .gitignore
  • Added a way to install sinter
Diffstat (limited to 'examples/power.int')
-rw-r--r--examples/power.int18
1 files changed, 0 insertions, 18 deletions
diff --git a/examples/power.int b/examples/power.int
deleted file mode 100644
index 119166d..0000000
--- a/examples/power.int
+++ /dev/null
@@ -1,18 +0,0 @@
-[def -- [x]
- [- x 1]]
-
-[def +++ [x y]
- [+ x y]]
-
-[def *** [x y]
- [if x
- [+++ y [*** [-- x] y]]
- 0]]
-
-[def ^^^ [b p]
- [if p
- [*** b [^^^ b [-- p]]]
- 1]]
-
-[def inter_main []
- [debug_int [^^^ 3 6]]]