Thread View: comp.lang.functional
3 messages
3 total messages
Started by Helmut Oertel
Sun, 01 Nov 1992 19:01
Gofer for PC's
Author: Helmut Oertel
Date: Sun, 01 Nov 1992 19:01
Date: Sun, 01 Nov 1992 19:01
8 lines
650 bytes
650 bytes
Does anyone know if there is a PC-Version of Gofer supporting floating numbers. ** Helmut Oertel Technical University Berlin, Germany oertelh@cs.tu-berlin.de **
Re: Gofer for PC's
Author: Mark P. Jones
Date: Mon, 02 Nov 1992 15:05
Date: Mon, 02 Nov 1992 15:05
30 lines
1971 bytes
1971 bytes
In article <1992Nov1.190105.9457@cs.tu-berlin.de> oertelh@cs.tu-berlin.de
(Helmut Oertel) writes:
| Does anyone know if there is a PC-Version of Gofer supporting floating
| numbers.
Judging from the amount of mail I've had recently, there are quite
a lot of people asking similar questions at the moment. I don't
have access to a PC right now, so I'm not in a position to produce
such a version myself, but I will give some pointers as to what can
be done.
With any kind of PC, it is (in theory) possible to compile a version
of Gofer with floats, but you will either end up with:
1) half as many heap cells (only 16,383 of them to be precise),
or 2) slower execution (even if you never use floats!) and not enough
memory left to run an editor from within Gofer.
Neither of these is very appealing. I have some patches to implement
the first option, but I'm not keen to distribute them without an
opportunity to test them first.
If you have a 386 or better and a compiler that can produce 32 bit
executables (I'm not sure that the most popular compilers can) then
you can produce a version of Gofer which has floats and makes proper
use of extra memory in your machine. I actually managed to do this
a couple of months ago using GNU C. However, the version of GNU C
that I used didn't support interrupts so pressing ^C would quit the
interpreter, not just the current evaluation.
Hope that helps,
Mark
Re: Gofer for PC's
Author: Hendrik Mager
Date: Tue, 03 Nov 1992 15:31
Date: Tue, 03 Nov 1992 15:31
21 lines
1603 bytes
1603 bytes
In article <1992Nov2.150537.23164@cs.yale.edu> jones-mark@CS.YALE.EDU (Mark P. Jones) writes : | Judging from the amount of mail I've had recently, there are quite | a lot of people asking similar questions at the moment. There are so many questions about the PC version of Gofer because the CS1-course at the Univerty of Karlsruhe (Germany) and the Technische Univerit"at Berlin (TU Berlin) (Germany) are using Gofer as the introductional language. In Karlsruhe they use the Macintosh version at the tutorial session, but of course most students have a PC at home. Ciao *Hendrik -- +-----------------------------------------------------------------------+ | Hendrik Mager Phone: (+49) 721-811377 | On the bottom of | | Klauprechtstr. 12 Email: mager@ira.uka.de | substantiated thinking | | 7500 Karlsruhe | lies unfounded | | Germany | thinking | | graduate student of computer science | (Wittgenstein | +-----------------------------------------------------------------------+
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads