POV-Ray : Newsgroups : povray.general : New group suggestion Server Time
12 Aug 2024 09:27:34 EDT (-0400)
  New group suggestion (Message 29 to 38 of 48)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Kalle Anka
Subject: Re: programming languages (was: New group suggestion)
Date: 7 Apr 1999 22:11:23
Message: <370C0231.9EE43AF9@acc.umu.se>
Lance Birch wrote:
> 
> I don't know... but it doesn't really seem like a practical language...
> (well, not to me anyway...)

It isn't!!!
it's very bad for just about everything, except to learn how stacks
work. But it's fun to do unreadable code in ;).
here's the languages homepage
http://www.cats-eye.com/cet/soft/lang/befunge/

I think it might (just might) be possible to create some kind of
L-system in it, but I don't think I'm going to try. It impossible to
maintain it and do nice code with INDENTATION.

/Peter


Post a reply to this message

From: Lance Birch
Subject: Re: programming languages (was: New group suggestion)
Date: 7 Apr 1999 23:36:38
Message: <370c1636.0@news.povray.org>
Oh no, don't talk about indentation, we don't want to start a World War III
here...

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone


Post a reply to this message

From: Bob Crispen
Subject: Re: New group suggestion
Date: 8 Apr 1999 02:12:28
Message: <370C3AB6.23CDE4DA@hiwaay.net>
Lance Birch wrote:

> he he he, now can someone show it to me in ADA 95?  ;-)

Of course -- please forgive my having lost the original post,
so I have no idea what it's supposed to do, but, hey, that
never stopped me before!

with Ada.Text_IO;
procedure POVRay_Roolz is
   type Counter is ( One, Two, Three, Four, Five );
   type Other_Counter is range -128..127;
begin
   for An_Absurdly_Long_Index_Name_That_Wont_Be_Used_Anyway in
    Counter'range loop
      for Yet_Another_Silly_Index_Name in 1..Other_Counter'size loop
         Ada.Text_IO.Put ("PLEASE!!! ");
      end loop;
      Ada.Text_IO.New_Line;
   end loop;
end POVRay_Roolz;

This only puts out 5 lines.  You should contine to type in the
other 19,995 enumerations in "Counter".

You're welcome.

Or in Forth:

	: POVRAY_ROOLZ
	  2 0 DO
	    10000 0 DO
	      8 0 DO
		." PLEASE!!! "
	      LOOP
	      CR
            LOOP
          LOOP ;

The double outer loop is because Forth (at least FIG-Forth) has
16-bit values.
--
Bob Crispen
cri### [at] hiwaaynet
What a day, what a day, for an auto-da-fe.


Post a reply to this message

From: Spider
Subject: Re: programming languages (was: New group suggestion)
Date: 8 Apr 1999 02:56:37
Message: <370C4237.D7CBF144@bahnhof.se>
Hmm, this really reminds me of Atlantis, or.. not...
Atlantis is well-structured, has good predefined alternatives, and looks like
crap...

it's a script-langauge, written in vb3 (yes...another script language) not by
me, but by RedHog, http://lysator.liu.se/~redhog

Well, dropping out again :-)

Kalle Anka wrote:
> 
> Lance Birch wrote:
> >
> > Um, yes, I didn't follow ANY of that... :)
> >
> > Got the Assembler version anyone?  Or maybe Fortran?  ;-)
> nop, I dont... but it's the same (almost) as the other version higher up
> in the thred. I used a loop of 20000 writes.
> here comes the readable (yeah right...):
>            v                 <
> 55*4*5*8*5*>"!!!ESAELP"8k,1-:|
>                              @
> and here are the comments for the second line by character-number:
> 1,2 : put two 5es on the stack
> 3   : mulitply the two numbers on the stack and put
>       the result (5*5=25) on the stack
> 4   : put a 4 on the stack
> 5   : multiply (25*4=100)
> 6   : add a 5 on the stack
> 7   : multiply (100*5=500)
> 8   : add a 8 to the stack
> 9   : multiply (500*8=4000)
> 10  : add a 5 on the stack
> 11  : multiply (4000*5=20000)
> 12  : change the direction of the "cursor" that reads the program
> 13-23 : put the word PLEASE!!! on the stack
> 24  : put an 8 on the stack
> 25  : repeat next command 8 times (8 is on top of the stack) and pop it
> 26  : print the character on top of the stack (and pop it)
> 27,28 : put a 1 on the stack and subtract it from the number before
> 29  : duplicate the top of the stack
> 30  : if the top of the stack is 0 quit (that is go south) else go north
> 
> if we go north then turn left at the "arrows" to get to the "PLEASE!!!"
> string.
> 
> not to hard was it?
> 
> /Peter Toneby, who now has changed his name to appear correctly...

-- 
//Spider
        [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
                "Marian"
        By: "Sisters Of Mercy"


Post a reply to this message

From: Spider
Subject: Re: New group suggestion
Date: 8 Apr 1999 03:23:19
Message: <370C4972.B40F75E3@bahnhof.se>
{Pascal}
progam BLAH;
var I : LongInt;
Begin
  for I := -2147483648 to 2147483647 do
    writeLn('PLEASE!!!');
end.

/* JAVA */
public class please {
  public static void main(String[] args) {
    int i;
    i=-1000000; //
    for(i=-1000000; /*uncertain of the limits, don't have the
documentation                       handy.*/
        i<1000000;i++)
           System.out.println("PLEASE!!!");
  }
}



Nieminen Mika wrote:
> 
> Lance Birch <lan### [at] usanet> wrote:
> : P.S.  for (a=0;a<=10000000000;a++) {write ("PLEASE!!! ")}
> 
>   No, no! This way:
> 
> #declare a=0;
> #while(a<=10000000000)
>   #debug "PLEASE!!! "
>   #declare a=a+1;
> #end
> 
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/

-- 
//Spider
        [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
                "Marian"
        By: "Sisters Of Mercy"


Post a reply to this message

From: Marc Schimmler
Subject: Re: New group suggestion
Date: 8 Apr 1999 03:47:26
Message: <370C50FB.841CF593@ica.uni-stuttgart.de>
How about some kind of living dinosaur:

FORTRAN 77:

      PROGRAM POVPLEASE
      INTEGER MANYPLEASE
      DO 100 MANYPLEASE = 1,1000000
        PRINT*,'PLEASE'
 100  CONTINUE
      END


Marc
-- 
Marc Schimmler


Post a reply to this message

From: Lance Birch
Subject: Re: New group suggestion
Date: 8 Apr 1999 09:38:50
Message: <370ca35a.0@news.povray.org>
LOL he he he

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone


Post a reply to this message

From: Spider
Subject: Re: New group suggestion
Date: 8 Apr 1999 11:14:57
Message: <370CB9F1.5D7DF8E0@hbg.lth.se>
Hey... Who here knows COBOL???

(I don't know enough)


Post a reply to this message

From: Lance Birch
Subject: Re: New group suggestion
Date: 8 Apr 1999 11:33:28
Message: <370cbe38.0@news.povray.org>
Common Business Oriented Language?

Never heard of it...

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone


Post a reply to this message

From: Spider
Subject: Re: New group suggestion
Date: 8 Apr 1999 16:05:53
Message: <370E4AF0.15692CEC@bahnhof.se>
*grin*

--
//Spider
        [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
                "Marian"
        By: "Sisters Of Mercy"


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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