Skip to content

Instantly share code, notes, and snippets.

View maxkrieger's full-sized avatar
🌱
just noodlin'

Max Krieger maxkrieger

🌱
just noodlin'
View GitHub Profile
@maxkrieger
maxkrieger / .dsl
Created January 10, 2022 16:53
untitled: a trio from https://penrose.ink
@maxkrieger
maxkrieger / .dsl
Created January 10, 2022 16:48
untitled: a trio from https://penrose.ink
@maxkrieger
maxkrieger / .dsl
Created January 10, 2022 16:48
untitled: a trio from https://penrose.ink
@maxkrieger
maxkrieger / .dsl
Created November 9, 2021 23:15
nested.sub: a trio from https://penrose.ink
View .dsl
type Set
type Point
type Map
constructor Singleton : Point p -> Set
function Intersection : Set a * Set b -> Set
function Union : Set a * Set b -> Set
function Subtraction : Set a * Set b -> Set
function CartesianProduct : Set a * Set b -> Set
@maxkrieger
maxkrieger / .dsl
Created November 9, 2021 21:45
nested.sub: a trio from https://penrose.ink
View .dsl
type Set
type Point
type Map
constructor Singleton : Point p -> Set
function Intersection : Set a * Set b -> Set
function Union : Set a * Set b -> Set
function Subtraction : Set a * Set b -> Set
function CartesianProduct : Set a * Set b -> Set
@maxkrieger
maxkrieger / input
Last active April 21, 2021 01:37
gpt-3
View input
Here is the "set theory" language:
type Set
type Point
type Map
constructor Singleton : Point p -> Set
function Intersection : Set a * Set b -> Set
function Union : Set a * Set b -> Set
function Subtraction : Set a * Set b -> Set
@maxkrieger
maxkrieger / .dsl
Created April 20, 2021 16:02
exgraph-example: a trio from https://penrose.ink
View .dsl
type Graph
predicate not : Graph g1
predicate and : Graph g1 * Graph g2
predicate or : Graph g1 * Graph g2
predicate if : Graph g1 * Graph g2
@maxkrieger
maxkrieger / .dsl
Created April 14, 2021 21:15
nested.sub: a trio from https://penrose.ink
View .dsl
type Set
type Point
type Map
constructor Singleton : Point p -> Set
function Intersection : Set a * Set b -> Set
function Union : Set a * Set b -> Set
function Subtraction : Set a * Set b -> Set
function CartesianProduct : Set a * Set b -> Set
@maxkrieger
maxkrieger / .dsl
Created March 29, 2021 17:25
silly: a trio from https://penrose.ink
View .dsl
type Set
type Point
type Map
constructor Singleton : Point p -> Set
function Intersection : Set a * Set b -> Set
function Union : Set a * Set b -> Set
function Subtraction : Set a * Set b -> Set
function CartesianProduct : Set a * Set b -> Set
@maxkrieger
maxkrieger / .dsl
Created March 29, 2021 17:25
Synapse Act 4: a trio from https://penrose.ink
View .dsl
type Set
type Point
type Map
constructor Singleton : Point p -> Set
function Intersection : Set a * Set b -> Set
function Union : Set a * Set b -> Set
function Subtraction : Set a * Set b -> Set
function CartesianProduct : Set a * Set b -> Set