h a l f b a k e r yYour journey of inspiration and perplexement provides a certain dark frisson.
add, search, annotate, link, view, overview, recent, by name, random
news, help, about, links, report a problem
browse anonymously,
or get an account
and write.
register,
|
|
|
Please log in.
Before you can vote, you need to register.
Please log in or create an account.
|
This is really just BASIC, but it's a version for the "programmer who has everything".
Instead of "FOR. . . NEXT" and "IF . . . END IF" blocks, the clauses here are "PLEASE . . . THANK YOU" and "IF YOU DON'T MIND . . . I APPRECIATE IT"
Variables are declared with "HELLO. . . TALK TO YOU SOON".
Declaring variables within the body of the program is okay if you write "I FORGOT" before and "SORRY" after.
In return, the compiler promises to give you very nicely worded errors should anything be out of order in your program.
Thank you.
INTERCAL resources page
http://www.catb.org/~esr/intercal/ I am shocked that none of you have mentioned the politeness requirements of c-intercal... [prufrax, Apr 27 2006]
[link]
|
|
You could probably bake this with a very object orientated language such as Ruby. |
|
|
won't this end up like COBOL? |
|
|
I suppose the please...thank you delimiters can be optional, but, should there be a mistake in that part, the computer will respond very unfriendlylike. |
|
|
it would annoy me very much to have to be polite to my computer which is the spawn of satan, or bill gates, they're interchangeable. |
|
|
[AlexTG]: Don't suppose you know a Nick?... |
|
|
Sounds like COBOL with manners. - Wasn't the Terminator programmed in COBOL? I seem to recall the words "ENVIRONMENT DIVISION" (and a 6502 serial interface) listing scroll past some target to be terminated... No wonder the poor chap had a grudge against humanity (Thanks Rich, for that!) |
|
|
Please do this and please do that and please do something else. Thank you. Thank You. |
|
|
Compile Error: Unmatched Please. Please add another Thank You. Thank You. |
|
|
[phundug] oh, and your idea has an unmatched "thank you" at the end. Please add "please" to the top part of your idea, or rephrase the end as: "Thank You... I FORGOT PLEASE earlier. SORRY. I APPRECIATE IT." Thank You. |
|
|
My program won't compile... I get 332 etiquette errors... |
|
|
Edsger Dijkstra's critical section blocking problem would be unbelievable "No, No, my good chap, after you!", "No, really. I insist. After you!"... |
|
|
Recursion:If you're really, really, really, really, really, really, really, really, really, nice, would you tell me what the factorial of 8 is, please? |
|
|
His arguments about goto's would become churlish.
Go to's would be a thing of the past... They'd become, "Please be so good as to continue execution from...?" |
|
|
\\Don't suppose you know a Nick?...\\Judging by the surname, I'm guessing family relation. |
|
|
My first programming class (pre-PC days) was on a PDP-1170. We logged on by typing "hello". The computer responded with a similar greeting, and then we could begin. Those were the days... kinder, gentler... This one makes me nostalgic. I'm a fan of it. [+] |
|
|
I FORGOT;
HELLO phundug;
TALK TO YOU SOON;
SORRY;
PLEASE keep_submitting_ ideas_like _this = 1 TO The_Halfbakery;
Number_of_votes = Number_of_votes + 1;
THANK YOU;
GOODBYE.
|
|
|
//PDP-1170// sp. "PDP-11/70" |
|
|
[phlish] There are some very interesting references, in your link, to other languages such as brainfuck (Jutta could you 'just' re-write the HB using this?), and probably Java2K too. |
|
|
This is silly. Computers are intended to be tools, and they ought to stay that way. Making a programming language that uses common English mechanics will personify them. |
|
|
HI
WOULD YOU MIND PRINTING "TOM IS COOL" OVER AND OVER AGAIN PLEASE?
THANKS
|
|
|
I'm sorry Zen, I can't do that. |
|
|
Do any of you realise how difficult this would be to read by foreign people (people just learning english)? |
|
|
But 'this' I mean this webpage, and the language. :) |
|
|
what I mean by 'the language' I mean this User friendly language, not english :). |
|
|
1 Mr Computer, please input "What is your name?"; a$ for me. Thank you.
2 please print "Hello, ";
2 1/2 Pretty please with sugar on top and a cherry, print a$. I forgot to ask before, and I forgot to number my lines in tens. Sorry!
3 goto 2, when you've got a moment. I'd appreciate it.
|
|
|
//Pretty please with sugar on top and a cherry// |
|
|
______________________________ Cross your heart and hope to die? |
|
|
[YES] [NO] [CANCEL]
______________________________ |
|
|
"Would you like me to stick my head in a bucket of water? I can do that, you know." |
|
| |