Submission for BirmingHack 1.0 (won Best Overall Hack & "Surprise Us")
  • GLSL 76.3%
  • Haskell 23.5%
  • Nix 0.2%
Find a file
2025-04-21 22:08:30 +00:00
buildings Put the windows back, but in the right room 2025-03-26 16:57:13 +00:00
Docs Final thing I /swear/ 2025-03-28 19:33:08 +00:00
.gitignore Deal with TeX humongous BULLSHIT 2025-03-26 22:12:33 +00:00
Ast.hs Use arbitrary size integer 2025-03-28 17:43:03 +00:00
empty-floor.fp Add empty floor template 2025-03-25 19:50:52 +00:00
fourmolu.yaml Haddock cringe setting 2025-03-22 14:15:04 +00:00
Interpreter.hs Format 2025-03-28 17:41:48 +00:00
logo.fp Add logo file 2025-03-26 11:35:52 +00:00
Main.hs Add verbose flag 2025-03-24 14:27:08 +00:00
Parse.hs Fix room equality bug 2025-03-25 18:49:05 +00:00
README.md Update README.md 2025-04-21 22:08:30 +00:00
shell.nix Initial commit 2025-03-22 12:32:11 +00:00
useful-characters.txt oopsie daisie 2025-03-23 11:12:23 +00:00

FLOORPLAN

Read the paper! (link)

What's everyone's biggest problem with floor plans? Once you build the room, they're basically useless. Here we present an interpreter to give these building foundations a much needed second lease of life --- as programs.

Check out our examples. You can run factorial n:

Warning

Requires GHC version 9.4.8 to compile!

Build:

ghc --make Main

Check HELLO WORLD:

./Main hello-floorplan

Factorial 5:

./Main factorial-building 5
120

Add two numbers:

./Main adder-building 5 3
8