Papers
Yes, there are academic papers about INTERCAL. No, we are not joking. These are real results with real proofs. The language just happens to be absurd.
Main result: INTERCAL-72's NEXT/RESUME control flow cannot express callable subroutines containing arbitrary-length loops. The NEXT stack imposes a hard limit of 79 iterations. COME FROM removes this limitation entirely.
Key discovery: Mingle is Morton coding. COME FROM + ABSTAIN/REINSTATE is the general-purpose conditional loop pattern for INTERCAL.
Key discovery: Select (
~) with contiguous high-bit masks is a logical right-shift. INTERCAL doesn't need a shift operator.
Key discovery: Gale-Shapley's nested loop structure is the exact pattern the COME FROM proof shows is impossible in INTERCAL-72.
Key insight: INTERCAL's instruction set maps to real bit-manipulation primitives — Morton codes, spatial hashing, GPU texture swizzling. A mingle instruction is a pdep/pext equivalent. DIVIDE32 runs 7,000x faster in hardware.
TLA+ Models
The formal proofs are backed by TLA+ models verified with the TLC model checker.