Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Jan-Jaap van der Heijden
Subject: "Recursion, need more stack space."
Date: 16 Jun 1997, 12:37:59
On Mon, 16 Jun 1997, Frank Heckenbach wrote:
>
> First the good news: in c.l.p.b (the same subject as this mail), someone
> wrote:
>
> "Anyway, I found this book in the library called "Programming Languages"
> by Herbert G.Mayor.
> In the book it has a program written in Algol-60 by Donald Knuth, which
> is highly recursive etc.etc, and it was written to separate the 'boy
> compilers' from the 'man compilers'.
> The book states, that modern computers are able to run the program with
> ease."
>
> Guess what: the program compiled and ran fine with gpc, but couldn't
> possibly compile with BP. :-)
>
:-) :-) Pathetic 64K limits :-) :-)
[..]
> Another little bug I just found:
>
> program x;
> var x:real value 0; {"initial value is of wrong type}
> begin
> end.
It's not a bug, I believe.
>From ISO 10206:1990, sec 6.1.7:
unsigned-rel = digit-sequence `.' fractional-part [ `e' scale factor ]
| digits-sequence `e' scale factor
I see a simular definition in my Turbo pascal Programmer's Guide, so
BP should not accept it either.
Try to make it "0.0" or "0e0"
JanJaap
---
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead. -- RFC1925.
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Frank Heckenbach | "Recursion, need more stack space." | 16 Jun 1997, 00:00:32 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).