├── .gitignore ├── LICENSE ├── README.md ├── examples ├── abs.sks ├── bitflip.sks ├── cat.sks ├── double.sks ├── first-number.sks ├── hello-world.sks ├── infinite-loop.sks ├── is-not-zero.sks ├── is-prime.sks ├── is-zero.sks ├── logic-gates │ ├── 0000.sks │ ├── 0001.sks │ ├── 0011.sks │ ├── 0110.sks │ ├── 1100.sks │ ├── 1101.sks │ └── 1111.sks ├── reverse-input.sks └── reversed-subtraction.sks ├── python └── interpreter.py ├── ruby ├── interpreter.rb ├── stack.rb ├── stackcats.rb └── tape.rb └── stack-cats.sublime-project /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/README.md -------------------------------------------------------------------------------- /examples/abs.sks: -------------------------------------------------------------------------------- 1 | <{>I<}> -------------------------------------------------------------------------------- /examples/bitflip.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/bitflip.sks -------------------------------------------------------------------------------- /examples/cat.sks: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/double.sks: -------------------------------------------------------------------------------- 1 | [_-:^:-_] -------------------------------------------------------------------------------- /examples/first-number.sks: -------------------------------------------------------------------------------- 1 | :!:[X]:!: -------------------------------------------------------------------------------- /examples/hello-world.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/hello-world.sks -------------------------------------------------------------------------------- /examples/infinite-loop.sks: -------------------------------------------------------------------------------- 1 | {<}{>} -------------------------------------------------------------------------------- /examples/is-not-zero.sks: -------------------------------------------------------------------------------- 1 | |I| -------------------------------------------------------------------------------- /examples/is-prime.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/is-prime.sks -------------------------------------------------------------------------------- /examples/is-zero.sks: -------------------------------------------------------------------------------- 1 | -|-I:I-|- -------------------------------------------------------------------------------- /examples/logic-gates/0000.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/logic-gates/0000.sks -------------------------------------------------------------------------------- /examples/logic-gates/0001.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/logic-gates/0001.sks -------------------------------------------------------------------------------- /examples/logic-gates/0011.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/logic-gates/0011.sks -------------------------------------------------------------------------------- /examples/logic-gates/0110.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/logic-gates/0110.sks -------------------------------------------------------------------------------- /examples/logic-gates/1100.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/logic-gates/1100.sks -------------------------------------------------------------------------------- /examples/logic-gates/1101.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/logic-gates/1101.sks -------------------------------------------------------------------------------- /examples/logic-gates/1111.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/logic-gates/1111.sks -------------------------------------------------------------------------------- /examples/reverse-input.sks: -------------------------------------------------------------------------------- 1 | |[>|<]| -------------------------------------------------------------------------------- /examples/reversed-subtraction.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/examples/reversed-subtraction.sks -------------------------------------------------------------------------------- /python/interpreter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/python/interpreter.py -------------------------------------------------------------------------------- /ruby/interpreter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/ruby/interpreter.rb -------------------------------------------------------------------------------- /ruby/stack.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/ruby/stack.rb -------------------------------------------------------------------------------- /ruby/stackcats.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/ruby/stackcats.rb -------------------------------------------------------------------------------- /ruby/tape.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/ruby/tape.rb -------------------------------------------------------------------------------- /stack-cats.sublime-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-ender/stackcats/HEAD/stack-cats.sublime-project --------------------------------------------------------------------------------