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

Pages: 1-

How to write a toy language

Name: Anonymous 2009-04-11 4:28

Step 1: Make your syntax use as many symbols as possible, ~!@#$%^&*()_+{}|:"?><" is a good start.
Step 2: Make program flow as confusing as possible.   If your language doesn't have closures, continuations, macros, anonymous delegates, function pointers, lambda expressions, operator overloading(this synergizes with lots of symbols), Null-Coalesce operators and monads, then you are as they say, doing it wrong.
Step 3: ????
Step 4: Claim your language is much more expressive and powerful than any other Turing complete language.  Prove this by writing recursive factorial solvers and claiming that that it would take longer and have much more verbose code if done in any other language.
Step 5: Your done! Your language has achieved cult status because a few lonely nerds bought your bullshit and learned your language.  They will now defend your language as gods gift to man on internet forums all over the internet! Huzzah!

Name: Anonymous 2009-04-11 4:37

>>1
write a toy language
Would you not design a toy language, and then have programmers write in said language? I don't think the English sat down one day and "wrote" English, more that it evolved over centuries with help from other languages.

Name: Anonymous 2009-04-11 5:31

>>2
You can't really write a toy language without designing it, can you?

Name: Anonymous 2009-04-11 5:32

>>3
Ah, now you're thinking with portals

Name: Anonymous 2009-04-11 5:42

>>3
how many of the idiots who write php designed it?

Name: FAILFAG 2009-04-11 6:01

>>5
LULZ
EPIC WIN
LEGENDARY THREAD
ARCHIVE NAO

Name: Anonymous 2009-04-11 6:06

>>1
+5 Funny

Name: Anonymous 2009-04-11 6:46

>>7
+2, Informative

Name: Anonymous 2009-04-11 7:07

>>8
-3, Redundant

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