Qbasicnews.com
December 08, 2021, 03:25:58 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Check this out  (Read 3697 times)
---Turbo Fx---
Member
*
Posts: 51


« on: April 29, 2004, 11:57:33 PM »

Some guy showed me this Shocked Shocked
Its a programming language called Intercal

It has the most sick syntax I have ever seen.
I believe the language was designed to make it impossible to program with. Now this sounds a little weird but its true.
There are even freaks wich realy try to program with it.

Sometimes when you want the program to do something you have to add the PLEASE statement. Opperators and functions are totally unreadable, and the only thing you can do with it is shifting bits and bytes I believe
It also uses statement like "COME FROM" and "FORGET"

Here's the hello world example from intercall compared to C
Code:

       #include
       int main(void) {
         printf("Hello, world!\\n");
         return 0;
       }

Wich is in intercal

       DO ,1 <- #13
       PLEASE DO ,1SUB#1 <- #234
       DO ,1SUB#2 <- #112
       DO ,1SUB#3 <- #112
       DO ,1SUB#4 <- #0
       DO ,1SUB#5 <- #64
       DO ,1SUB#6 <- #194
       DO ,1SUB#7 <- #48
       PLEASE DO ,1SUB#8 <- #22
       DO ,1SUB#9 <- #248
       DO ,1SUB#10 <- #168
       DO ,1SUB#11 <- #24
       DO ,1SUB#12 <- #16
       DO ,1SUB#13 <- #214
       PLEASE READ OUT ,1
       PLEASE GIVE UP


Check out some sites its just hilarious.
http://www.catb.org/~esr/intercal/
http://www.progsoc.uts.edu.au/~sbg/intercal/intercal.html
Logged

xpect to see some great stuff from us...
KiZ
__/--\__
*****
Posts: 2879


WWW
« Reply #1 on: April 30, 2004, 06:10:30 AM »

hahaha! You have to say please to the language if you want it to do something!!  :lol:  That is veeeeery funny, but veeeeery strange!
Logged
Deranged
New Member

Posts: 13


WWW
« Reply #2 on: April 30, 2004, 04:11:36 PM »

wow that is a weird language... kinda sounds like it was made to be a joke though. maybe someone just had a lot of time on their hands and for some odd reason decided to fill their time by making a new language... funny indeed!
Logged

Deranged
KiZ
__/--\__
*****
Posts: 2879


WWW
« Reply #3 on: May 01, 2004, 08:12:12 AM »

well that may be wierd, but this is even better - it is from the language called "Unlambda":

Code:
```s`kr``s``si`k.*`ki
 ```s``s`k``si`k`s``s`ksk``s``s`ksk``s``s`kski
   ``s`k``s``s`ksk``s``s`kski`s``s`ksk
  ```s``s`kski``s``s`ksk``s``s`kski


Aparently this program "prints a line of 1729 stars"



or this program which prints the fibbonachi numbers:

Code:
```s``s``sii`ki
  `k.*``s``s`ks
 ``s`k`s`ks``s``s`ks``s`k`s`kr``s`k`sikk
  `k``s`ksk


That is sick!
Logged
---Turbo Fx---
Member
*
Posts: 51


« Reply #4 on: May 01, 2004, 08:39:17 AM »

Hmm, its even more unreadable than intercal
They say it uses two functions K and S
I think these are for shifting bits. (Like in a turing machine)
I have had some theoretical course about the turing machine at Uni.
Making a program that displays the fibonacy numbers realy sucks bigtime when you do it with a  Turing machine.

However I find the syntax of intercal funnier, because of the"Please" "Come From" ,"Give Up" statements.

Here's some more funny intercal statements
Code:

        PLEASE ABSTAIN FROM STASHING
PLEASE ABSTAIN FROM IGNORING + FORGETTING
PLEASE ABSTAIN FROM NEXTING
       PLEASE ABSTAIN FROM CALCULATING

And
Code:

PLEASE NOTE THAT THIS LINE HAS NO EFFECT


        DO SOMETHING ABOUT OVERFLOW IN ;3

Logged

xpect to see some great stuff from us...
CGI Joe
Member
*
Posts: 61



« Reply #5 on: May 01, 2004, 09:37:31 AM »

Heh yeah, I like that.

Code:

HOW ABOUT A 3D ENGINE
LETS MAKE IT MULTIPLAYER
BEST. MUSIC. EVER.
DO STUFF

THANKS
Logged
whitetiger0990
__/--\__
*****
Posts: 2964



WWW
« Reply #6 on: May 01, 2004, 02:14:04 PM »

lol

hey just wondering....
is there a windows version of the Unlambda language?
Logged


[size=10]Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.[/size]
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!