├── .gitignore ├── README.md ├── examples-old ├── colours.mn ├── countdown.lb.pc ├── factorial.lb.pc ├── fibonacci.lb.pc ├── fizzbuzz-time-travel.lb ├── fizzbuzz.lb.pc ├── fizzbuzz │ ├── long-handmaiden.lb.pc │ ├── no-handmaiden.lb.pc │ └── short-handmaiden.lb.pc ├── helloworld.lb.pc ├── maiden-test.lb.pc ├── short.lb.pc ├── shortened │ ├── countdown.lb.pc │ ├── factorial.lb.pc │ └── fizzbuzz.lb.pc ├── sum-digits.lb.pc ├── time-travel.lb └── wheee.pc ├── examples ├── exponential-growth.lb ├── factorial.lb ├── fibonacci.lb ├── fizzbuzz │ └── single-minotaur.lb ├── guessing-game.lb ├── hello-world.lb ├── highlighting-strings.lb ├── power-of-two.lb ├── slot-machine.lb ├── sum-digits.lb └── waves.lb ├── old ├── .gitignore ├── README.md ├── examples │ ├── countdown.pc │ ├── factorial.pc │ ├── fibonacci.pc │ ├── fizzbuzz.pc │ ├── fizzbuzz │ │ ├── long-handmaiden.pc │ │ ├── no-handmaiden.pc │ │ └── short-handmaiden.pc │ ├── helloworld.pc │ ├── maiden-test.pc │ ├── short.pc │ ├── shortened │ │ ├── countdown.pc │ │ ├── factorial.pc │ │ └── fizzbuzz.pc │ └── sum-digits.pc ├── main ├── old │ ├── examples.rb │ ├── examples2.rb │ ├── old │ ├── princess-no-accel.rb │ └── princess.rb └── src │ ├── board.c │ ├── board.h │ ├── coordinate.h │ ├── function.h │ ├── handmaiden.c │ ├── handmaiden.h │ ├── main │ ├── main.c │ ├── princess.c │ ├── princess.h │ ├── shared.h │ ├── value.c │ └── value.h └── src ├── Array.zig ├── CommandLineArgs.zig ├── Coordinate.zig ├── Debugger.zig ├── Labyrinth.zig ├── Maze.zig ├── Minotaur.zig ├── Value.zig ├── Vector.zig ├── array2.zig ├── function.zig ├── main.zig ├── types.zig └── utils.zig /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/README.md -------------------------------------------------------------------------------- /examples-old/colours.mn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/colours.mn -------------------------------------------------------------------------------- /examples-old/countdown.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/countdown.lb.pc -------------------------------------------------------------------------------- /examples-old/factorial.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/factorial.lb.pc -------------------------------------------------------------------------------- /examples-old/fibonacci.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/fibonacci.lb.pc -------------------------------------------------------------------------------- /examples-old/fizzbuzz-time-travel.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/fizzbuzz-time-travel.lb -------------------------------------------------------------------------------- /examples-old/fizzbuzz.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/fizzbuzz.lb.pc -------------------------------------------------------------------------------- /examples-old/fizzbuzz/long-handmaiden.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/fizzbuzz/long-handmaiden.lb.pc -------------------------------------------------------------------------------- /examples-old/fizzbuzz/no-handmaiden.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/fizzbuzz/no-handmaiden.lb.pc -------------------------------------------------------------------------------- /examples-old/fizzbuzz/short-handmaiden.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/fizzbuzz/short-handmaiden.lb.pc -------------------------------------------------------------------------------- /examples-old/helloworld.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/helloworld.lb.pc -------------------------------------------------------------------------------- /examples-old/maiden-test.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/maiden-test.lb.pc -------------------------------------------------------------------------------- /examples-old/short.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/short.lb.pc -------------------------------------------------------------------------------- /examples-old/shortened/countdown.lb.pc: -------------------------------------------------------------------------------- 1 | 9>.?.Nv print 9 downto 1 2 | ^_QJ1< 3 | -------------------------------------------------------------------------------- /examples-old/shortened/factorial.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/shortened/factorial.lb.pc -------------------------------------------------------------------------------- /examples-old/shortened/fizzbuzz.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/shortened/fizzbuzz.lb.pc -------------------------------------------------------------------------------- /examples-old/sum-digits.lb.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/sum-digits.lb.pc -------------------------------------------------------------------------------- /examples-old/time-travel.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/time-travel.lb -------------------------------------------------------------------------------- /examples-old/wheee.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples-old/wheee.pc -------------------------------------------------------------------------------- /examples/exponential-growth.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples/exponential-growth.lb -------------------------------------------------------------------------------- /examples/factorial.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples/factorial.lb -------------------------------------------------------------------------------- /examples/fibonacci.lb: -------------------------------------------------------------------------------- 1 | C! 2 | -------------------------------------------------------------------------------- /examples/fizzbuzz/single-minotaur.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples/fizzbuzz/single-minotaur.lb -------------------------------------------------------------------------------- /examples/guessing-game.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples/guessing-game.lb -------------------------------------------------------------------------------- /examples/hello-world.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples/hello-world.lb -------------------------------------------------------------------------------- /examples/highlighting-strings.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples/highlighting-strings.lb -------------------------------------------------------------------------------- /examples/power-of-two.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples/power-of-two.lb -------------------------------------------------------------------------------- /examples/slot-machine.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples/slot-machine.lb -------------------------------------------------------------------------------- /examples/sum-digits.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples/sum-digits.lb -------------------------------------------------------------------------------- /examples/waves.lb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/examples/waves.lb -------------------------------------------------------------------------------- /old/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | main.dSYM 3 | -------------------------------------------------------------------------------- /old/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/README.md -------------------------------------------------------------------------------- /old/examples/countdown.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/countdown.pc -------------------------------------------------------------------------------- /old/examples/factorial.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/factorial.pc -------------------------------------------------------------------------------- /old/examples/fibonacci.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/fibonacci.pc -------------------------------------------------------------------------------- /old/examples/fizzbuzz.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/fizzbuzz.pc -------------------------------------------------------------------------------- /old/examples/fizzbuzz/long-handmaiden.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/fizzbuzz/long-handmaiden.pc -------------------------------------------------------------------------------- /old/examples/fizzbuzz/no-handmaiden.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/fizzbuzz/no-handmaiden.pc -------------------------------------------------------------------------------- /old/examples/fizzbuzz/short-handmaiden.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/fizzbuzz/short-handmaiden.pc -------------------------------------------------------------------------------- /old/examples/helloworld.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/helloworld.pc -------------------------------------------------------------------------------- /old/examples/maiden-test.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/maiden-test.pc -------------------------------------------------------------------------------- /old/examples/short.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/short.pc -------------------------------------------------------------------------------- /old/examples/shortened/countdown.pc: -------------------------------------------------------------------------------- 1 | 9>.?.Nv print 9 downto 1 2 | ^_QJ1< 3 | -------------------------------------------------------------------------------- /old/examples/shortened/factorial.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/shortened/factorial.pc -------------------------------------------------------------------------------- /old/examples/shortened/fizzbuzz.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/shortened/fizzbuzz.pc -------------------------------------------------------------------------------- /old/examples/sum-digits.pc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/examples/sum-digits.pc -------------------------------------------------------------------------------- /old/main: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/main -------------------------------------------------------------------------------- /old/old/examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/old/examples.rb -------------------------------------------------------------------------------- /old/old/examples2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/old/examples2.rb -------------------------------------------------------------------------------- /old/old/old: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/old/old -------------------------------------------------------------------------------- /old/old/princess-no-accel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/old/princess-no-accel.rb -------------------------------------------------------------------------------- /old/old/princess.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/old/princess.rb -------------------------------------------------------------------------------- /old/src/board.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/board.c -------------------------------------------------------------------------------- /old/src/board.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/board.h -------------------------------------------------------------------------------- /old/src/coordinate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/coordinate.h -------------------------------------------------------------------------------- /old/src/function.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/function.h -------------------------------------------------------------------------------- /old/src/handmaiden.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/handmaiden.c -------------------------------------------------------------------------------- /old/src/handmaiden.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/handmaiden.h -------------------------------------------------------------------------------- /old/src/main: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/main -------------------------------------------------------------------------------- /old/src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/main.c -------------------------------------------------------------------------------- /old/src/princess.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/princess.c -------------------------------------------------------------------------------- /old/src/princess.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/princess.h -------------------------------------------------------------------------------- /old/src/shared.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/shared.h -------------------------------------------------------------------------------- /old/src/value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/value.c -------------------------------------------------------------------------------- /old/src/value.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/old/src/value.h -------------------------------------------------------------------------------- /src/Array.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/Array.zig -------------------------------------------------------------------------------- /src/CommandLineArgs.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/CommandLineArgs.zig -------------------------------------------------------------------------------- /src/Coordinate.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/Coordinate.zig -------------------------------------------------------------------------------- /src/Debugger.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/Debugger.zig -------------------------------------------------------------------------------- /src/Labyrinth.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/Labyrinth.zig -------------------------------------------------------------------------------- /src/Maze.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/Maze.zig -------------------------------------------------------------------------------- /src/Minotaur.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/Minotaur.zig -------------------------------------------------------------------------------- /src/Value.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/Value.zig -------------------------------------------------------------------------------- /src/Vector.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/Vector.zig -------------------------------------------------------------------------------- /src/array2.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/array2.zig -------------------------------------------------------------------------------- /src/function.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/function.zig -------------------------------------------------------------------------------- /src/main.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/main.zig -------------------------------------------------------------------------------- /src/types.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/types.zig -------------------------------------------------------------------------------- /src/utils.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sampersand/labyrinth/HEAD/src/utils.zig --------------------------------------------------------------------------------