2 ms·
COMEFROM is one of the many great jokes that form the Intercal language. I recommend reading the language specification. Of course, COMEFROM's grown up (and ve
by gmueckl 2y ago
COMEFROM is one of the many great jokes that form the Intercal language. I recommend reading the language specification.
Of course, COMEFROM's grown up (and very real) sibling is ALTER GOTO in COBOL.
- Voultapher 2y agoSo I tracked down this programming manual for intercal https://3e8.org/pub/intercal.pdf https://3e8.org/pub/intercal.pdf and can't locate any mention to comefrom.
- mannykannot 2y agoIt is from a dialect called C-INTERCAL and is written with a space: 'COME FROM' https://www.cs.virginia.edu/~asb/teaching/cs415-fall05/docs/intercal.pdf https://www.cs.virginia.edu/~asb/teaching/cs415-fall05/docs/...
- gmueckl 2y agoThanks for that correction! I had memorized COME FROM as part of the original Intercal. My mistake.
- twic 2y agoIt's also foundational in Threaded INTERCAL, where "multiple COME FROM statements with the same label cause the program to fork separate threads at each COME FROM": https://esolangs.org/wiki/Threaded_INTERCAL https://esolangs.org/wiki/Threaded_INTERCAL