Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

MAKE A NEW PROGRAMMING LANGUAGE

Name: Anonymous 2007-05-22 12:53 ID:4r+em++m

caveat: 4chan memes are keywords

oh, and it must be Touring complete

Name: Anonymous 2007-05-23 3:34 ID:Hm93izWK

This language will go down in history as the first exception-based language.  All branch commands are forms of exceptions.  There is no GOTO, FOR, DO/WHILE/LOOP/WEND, etc.  Therefore, dividing by zero is useful as an intentional way to cause an exception.

Suggestion for syntax and example

| Print numbers 1 to 10
/r/ numnber=0;
attempt {
 quack number; age number; if number>10 dummy=1/0
}
whenFail(dummy) { quack "Program successful"; gtfo 0 }
quack "Proggie fucked up"
gtfo 1 | true exceptions in this language are unhandled exceptions


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List