POV-Ray : Newsgroups : povray.off-topic : Hey Andrew! For fun, try this language :D Server Time
6 Sep 2024 05:13:22 EDT (-0400)
  Hey Andrew! For fun, try this language :D (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: Kevin Wampler
Subject: Re: Hey Andrew! For fun, try this language :D
Date: 25 Mar 2009 14:07:29
Message: <49ca72e1$1@news.povray.org>
Mike Raiford wrote:
> http://en.wikipedia.org/wiki/APL_(programming_language)
> 
> Ever seen those funny symbols on old (and I mean old) terminal 
> keyboards? so, that's what they mean...
> 

I ran across a neat youtube video a while ago talking through how to 
program a game of life simulator in one line of APL.  I don't know the 
language but the video was certainly interesting:

http://www.youtube.com/watch?gl=GB&hl=en-GB&v=a9xAKttWgP4&fmt=18


Post a reply to this message

From: Darren New
Subject: Re: Hey Andrew! For fun, try this language :D
Date: 25 Mar 2009 15:09:12
Message: <49ca8158$1@news.povray.org>
Kevin Wampler wrote:
> I ran across a neat youtube video a while ago talking through how to 
> program a game of life simulator in one line of APL.  I don't know the 
> language but the video was certainly interesting:

Wow, that brings back memories.

You can imagine how easy it is to do stuff like 3D graphics with APL, which 
is what I was using it for.

Actually, the language "J" (http://www.jsoftware.com/) is the next level up 
from APL, letting you write "adjectives" and "adverbs", making APL into a 
more meta kind of language closer to Haskell than Excel. Plus it uses ASCII, 
which I think is actually a drawback except from the practical POV.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no
   CD I knoooow!


Post a reply to this message

From: Orchid XP v8
Subject: Re: Hey Andrew! For fun, try this language :D
Date: 25 Mar 2009 15:28:13
Message: <49ca85cd$1@news.povray.org>
Darren New wrote:
> Kevin Wampler wrote:
>> I ran across a neat youtube video a while ago talking through how to 
>> program a game of life simulator in one line of APL.  I don't know the 
>> language but the video was certainly interesting:
> 
> Wow, that brings back memories.
> 
> You can imagine how easy it is to do stuff like 3D graphics with APL, 
> which is what I was using it for.
> 
> Actually, the language "J" (http://www.jsoftware.com/) is the next level 
> up from APL, letting you write "adjectives" and "adverbs", making APL 
> into a more meta kind of language closer to Haskell than Excel. Plus it 
> uses ASCII, which I think is actually a drawback except from the 
> practical POV.

I read this post while playing Widor's Tocatta. (The easy part near the 
end.)

Damn, I'm getting good at this crap! o_O

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: scott
Subject: Re: Hey Andrew! For fun, try this language :D
Date: 26 Mar 2009 04:22:40
Message: <49cb3b50$1@news.povray.org>
> Actually, the language "J" (http://www.jsoftware.com/) is the next level 
> up from APL, letting you write "adjectives" and "adverbs", making APL into 
> a more meta kind of language closer to Haskell than Excel. Plus it uses 
> ASCII, which I think is actually a drawback except from the practical POV.

Yeh I was about to say that J is similar to APL, but without needing all the 
special characters.  I did get into J a while back, here's a J program I 
posted in one of the other o-t ngs to display the mandelbrot fractal:

(64 
64$((+/((|((,((((0j1*i.64)+/(i.64))%16)-2j2))(+*:)^:(i.8)0))<2)))){'.,:;!+i#'

Cool eh? :-)


Post a reply to this message

From: Invisible
Subject: Re: Hey Andrew! For fun, try this language :D
Date: 26 Mar 2009 05:16:05
Message: <49cb47d5@news.povray.org>
Mike Raiford wrote:
> http://en.wikipedia.org/wiki/APL_(programming_language)
> 
> Ever seen those funny symbols on old (and I mean old) terminal 
> keyboards? so, that's what they mean...

...what the HELL?! o_O


Post a reply to this message

From: Darren New
Subject: Re: Hey Andrew! For fun, try this language :D
Date: 26 Mar 2009 11:52:46
Message: <49cba4ce$1@news.povray.org>
scott wrote:
> Yeh I was about to say that J is similar to APL, 

It's *way* worse than APL.  J:APL::C:C++

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no
   CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Hey Andrew! For fun, try this language :D
Date: 26 Mar 2009 12:24:32
Message: <49cbac40$1@news.povray.org>
Darren New wrote:
> scott wrote:
>> Yeh I was about to say that J is similar to APL, 
> 
> It's *way* worse than APL.  J:APL::C:C++

Uh, switch that.  J:APL::C++:C
Lots of meta power in J, with functions that take other functions as 
arguments and stuff like that.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no
   CD I knoooow!


Post a reply to this message

From: Invisible
Subject: Re: Hey Andrew! For fun, try this language :D
Date: 26 Mar 2009 12:28:50
Message: <49cbad42$1@news.povray.org>
Darren New wrote:

> Lots of meta power in J, with functions that take other functions as 
> arguments and stuff like that.

We call them "high-order functions". ;-)


Post a reply to this message

From: Darren New
Subject: Re: Hey Andrew! For fun, try this language :D
Date: 26 Mar 2009 13:05:44
Message: <49cbb5e8@news.povray.org>
Invisible wrote:
> Darren New wrote:
> 
>> Lots of meta power in J, with functions that take other functions as 
>> arguments and stuff like that.
> 
> We call them "high-order functions". ;-)

That too.  J has "adjectives" and "adverbs", and I don't remember offhand 
what the difference is. It's worth reading the documents, tho.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Kevin Wampler
Subject: Re: Hey Andrew! For fun, try this language :D
Date: 26 Mar 2009 13:19:04
Message: <49cbb908$1@news.povray.org>
Darren New wrote:
> Actually, the language "J" (http://www.jsoftware.com/) is the next level 
> up from APL, letting you write "adjectives" and "adverbs", making APL 
> into a more meta kind of language closer to Haskell than Excel. Plus it 
> uses ASCII, which I think is actually a drawback except from the 
> practical POV.

It looks interesting, so I'll see if I can find some spare time to check 
it out.


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.