Something went wrong. Try again.
🌱 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738main() { c := 0 switch { 1 == 1 { c += 1 } } switch { 1 == 1 { c += 1 } _ { c -= 1 } } switch { 0 == 1 { c -= 1 } _ { c += 1 } } switch { 0 == 1 { c -= 1 } 0 == 2 { c -= 1 } _ { c += 1 } } switch { 0 == 1 { c -= 1 } 0 == 2 { c -= 1 } 2 == 2 { c += 1 } _ { c -= 1 } } switch { 0 == 1 { c -= 1 } 0 == 2 { c -= 1 } 0 == 3 { c -= 1 } } assert c == 5}