![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #1 |
|
New to the CF scene Join Date: May 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Code poetry
So does anyone know what code poetry is or got any opinons on "how technologists, creativity and abstract thought go together??"
got it as a topic to discuss so i said i throw it out there and get ppls views!!! |
|
|
|
|
|
PM User | #4 |
|
The thread killer ![]() ![]() Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
![]() |
Anyone here heard of a language called INTERCAL? That's poetry!
__________________
liorean <[lio@wg]> Articles: RegEx evolt wsabstract , Named Arguments Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards |
|
|
|
|
|
PM User | #5 | |
|
Senior Coder ![]() Join Date: Jan 2004
Posts: 2,321
Thanks: 1
Thanked 4 Times in 4 Posts
![]() |
Quote:
__________________
Geoffrey Sneddon |
|
|
|
|
|
|
PM User | #6 |
|
The thread killer ![]() ![]() Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
![]() |
It's basically BASIC with inverted causality. Look at <http://www.catb.org/~esr/intercal/> and <http://www.muppetlabs.com/~breadbox/intercal-man/>
One have to love constructs such as COME FROM, ABSTAIN, FORGET, GIVE UP, DON'T, that you can specify a qualifier for how likely a statement is to actually be executed, the requirement from many compilers that you are polite (use PLEASE sufficiently often, but not TOO often) Look at this sample stolen from the C-Intercal manual, for instance: Code:
DO (5) NEXT
(5) DO FORGET #1
PLEASE WRITE IN :1
DO .1 <- '?":1~'#32768$#0'"$#1'~#3
DO (1) NEXT
DO :1 <- "'?":1~'#65535$#0'"$#65535'
~'#0$#65535'"$"'?":1~'#0$#65535'"
$#65535'~'#0$#65535'"
DO :2 <- #1
PLEASE DO (4) NEXT
(4) DO FORGET #1
DO .1 <- "?':1~:2'$#1"~#3
DO :1 <- "'?":1~'#65535$#0'"$":2~'#65535
$#0'"'~'#0$#65535'"$"'?":1~'#0
$#65535'"$":2~'#0$#65535'"'~'#0$#65535'"
DO (1) NEXT
DO :2 <- ":2~'#0$#65535'"
$"'":2~'#65535$#0'"$#0'~'#32767$#1'"
DO (4) NEXT
(2) DO RESUME .1
(1) PLEASE DO (2) NEXT
PLEASE FORGET #1
DO READ OUT :1
PLEASE DO .1 <- '?"':1~:1'~#1"$#1'~#3
DO (3) NEXT
PLEASE DO (5) NEXT
(3) DO (2) NEXT
PLEASE GIVE UP
__________________
liorean <[lio@wg]> Articles: RegEx evolt wsabstract , Named Arguments Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards Last edited by liorean; 08-24-2004 at 11:59 PM.. |
|
|
|
|
|
PM User | #7 |
|
Senior Coder ![]() Join Date: Jan 2004
Posts: 2,321
Thanks: 1
Thanked 4 Times in 4 Posts
![]() |
You just have to love that...
__________________
Geoffrey Sneddon |
|
|
|
|
|
PM User | #8 |
|
Regular Coder ![]() Join Date: May 2005
Posts: 313
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Code:
function kiss(her){
try{
throw her();}
catch(her){
return her instanceof Error ? false : true;}}
a dysfunctional relationship...
__________________
Thanks in advance! Last edited by enumerator; 05-29-2005 at 09:13 AM.. Reason: version 1.0 |
|
|
|
|
|
PM User | #12 |
|
Regular Coder ![]() Join Date: May 2005
Posts: 313
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Oh yeah...
![]() Code:
finally{
kiss(her);}}
__________________
Thanks in advance! Last edited by enumerator; 05-30-2005 at 12:55 AM.. Reason: if(her.propertyIsEnumerable("input")) createPopup(ActiveXObject) else new Date; |
|
|
|
|
|
PM User | #14 |
|
Banned ![]() Join Date: Jul 2009
Posts: 52
Thanks: 10
Thanked 4 Times in 4 Posts
![]() |
heart.pl...
Code:
open (hers,"<first");
bind myheartto,hers;
while (my $oul=<hers>){
if ($oul eq true){
close (hers); last;
}
}
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|