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

INVENT THE WORST PROGRAMMING LANGUAGE

Name: Anonymous 2006-07-09 1:18

1. you can define keywords, operators, grammar rules, general concepts endorsed by the language, etc.
2. do your worst
3. we are starting from the ground up, so it is prohibited to import complete keyword sets from an existing language (no OK, ALL JAVA KEYWORDS, THREAD OVER, HURRRRRRRRRR)
4. and we need a name for this language as well

Name: Anonymous 2006-07-19 19:32

All types are objects, and all variables are pointers. All operators are called exactly the same way functions are. For example, to add x to y:

x->+(y);

Furthermore, there is no heap. There is no such thing as a return value for a function, but rather, what is returned is the object called; i.e. the above code returns the pointer to 'x'.

So to perform (x+y)/(u-v) and store it in z, you do:

int a,b,z; (z->+((a->+(x))->+y))->/((b->+(u))->-v);

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