Skip to content

Instantly share code, notes, and snippets.

View lynn's full-sized avatar
🐞

Lynn lynn

🐞
View GitHub Profile
@lynn
lynn / cardinal.py
Last active November 19, 2020 04:54
Cardinal esolang interpreter
#!/usr/bin/env python3
# usage:
# python3 cardinal.py code.cardinal < input.txt
# to show program execution, pass -d and a time delta:
# python3 cardinal.py -d 0.1 code.cardinal < input.txt
import sys
import time
@lynn
lynn / KnyttStoriesMapper.hs
Created February 1, 2016 19:49
Knytt Stories level map renderer
-- Pass this program a world name, and run it from the Knytt Stories root directory:
--
-- cd "Knytt Stories"
-- ./KnyttStoriesMapper "Nifflas - The Machine"
--
-- It will create a file called "Nifflas - The Machine.png" containing a map.
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TypeFamilies #-}