Re: Back & Forth - The effects of nuclear weapons

Liste des GroupesRevenir à cl forth 
Sujet : Re: Back & Forth - The effects of nuclear weapons
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forth
Date : 14. May 2025, 08:00:13
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <2626d80a5a637dc07057636440120f1946351aa0@i2pn2.org>
References : 1 2
User-Agent : Mozilla Thunderbird
On 14/05/2025 3:51 pm, anthk wrote:
On 2025-02-08, Hans Bezemer <the.beez.speaks@gmail.com> wrote:
What do you do when you want to preserve a thirty year old spaghetti
code BASIC program? Of course, if you have no intention whatsoever to
maintain it, you could of course just use a compatible interpreter. Or
you could do it the hard way by trying to analyze it and port it to Forth.
>
https://www.youtube.com/watch?v=cj2z8pGCFbQ
>
Hans Bezemer
 
I'd love Basic Computer Games' examples among Missile.BAS from CP/M 2.2
being ported to Forth...

The occasions I've ported programs from other languages to Forth the resulting
code has always been disappointingly identical to the original.

Moore once said something to the effect: 'Don't give me your code, tell me
the algorithm and I'll code it.'  I took this to mean he didn't want to be
influenced by existing code.  I was recently put in the same situation...

A Forth application relied upon a small tool the author had written in C.
I had no end of trouble compiling the thing and resolved to rewrite the tool
in Forth.  But what little I once knew about C had vanished in the years
since.  The C source was all but useless to me.  Armed with data samples I
determined what the code did.  The resulting tool in Forth looked (to my
eyes anyway) exactly right.  I doubt I'd feel the same were it a translation
of the C.

p.s. the C tool I finally managed to compile had been developed on a UNIX/
Linux system.  I was using Windows.  Unbeknown to me the difference was
enough to sometimes cause corrupted data files.  I discovered this only
after I had the Forth tool up and running!


Date Sujet#  Auteur
8 Feb 25 * Back & Forth - The effects of nuclear weapons11Hans Bezemer
12 Feb 25 +* Re: Back & Forth - The effects of nuclear weapons3David Meyer
12 Feb 25 i`* Re: Back & Forth - The effects of nuclear weapons2dxf
16 Feb 25 i `- Re: Back & Forth - The effects of nuclear weapons1Hans Bezemer
14 May 25 `* Re: Back & Forth - The effects of nuclear weapons7anthk
14 May 25  +- Re: Back & Forth - The effects of nuclear weapons1dxf
15 May 25  `* Re: Back & Forth - The effects of nuclear weapons5Hans Bezemer
16 May 25   +* Re: Back & Forth - The effects of nuclear weapons3David Meyer
16 May 25   i+- Re: Back & Forth - The effects of nuclear weapons1Hans Bezemer
16 May 25   i`- Re: Back & Forth - The effects of nuclear weapons1anthk
16 May 25   `- Re: Back & Forth - The effects of nuclear weapons1anthk

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal