home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
549b.lha
/
EdinburghStandardML
/
README.AMIGA
< prev
next >
Wrap
Text File
|
1991-09-08
|
3KB
|
97 lines
=============================================================================
Edinburgh Standard ML -- Amiga version
=============================================================================
Files:
======
fam (executable) Functional Abstract Machine for 68000
fam020 (executable) Functional Abstract Machine for 68020 etc.
with inline 68881-instructions for floating point
heap (data) Heap image, containing ML compiler etc.
sml (script) simple script to start SML
sml020 (script) -,,-
README.SML (doc) Original README file for installation
(obsolete for Amiga port, but included anyway)
report (doc) Contains signatures for all built-in functions
and data structures
README.AMIGA (doc) this file
Src (directory) Contains C-Source for FAM, modified by me
to be compiled with Lattice C v5.10
Programs (dircetory) Some example programs
System Requirements:
====================
a) [any of] Amiga 500,1000,2000,3000,...
b) at least 600 kByte contiguous RAM, the more the better
(you won't want to see garbage collection every few seconds!)
c) [any of] Kickstart 1.2,1.3,2.0
Running SML:
============
To start SML, type
fam[020] -h <heap size in kByte> <initial heap file>
fam020 gives better performance on systems containing a 68020/68030 CPU
and a 68881/68882 FPU.
Two simple scripts (sml and sml020) are included, which set appropriate
stack size and call the FAM. You should edit them and set the amount
of heap to a sensible value. (Currently 2000 kBytes)
After loading, you can type ML definitions/expressions, with are compiled
to bytecode and interpreted immediately.
You can load ML source code via
use ["<filename>"];
I recommend that you have an editor running, save your source code and
load it into SML as described, instead of typing it directly to the
SML system.
You can also dump the heap contatining all definitions entered
to a file with ExportML. This heap image can be loaded at startup with
the 'fam' command. (See "README.SML" for details)
The heap image included is a 'virgin' one, containing only the predefined
functions and structures described in the file "report".
To interrupt a computation type cntrl-C.
To leave the SML system type cntrl-\ (Amiga EOF-character)
-----------------------------------------------------------------------------
Welcome to the world of functional programming, where semantics are clear,
testing and verifying is easy and programming is FUN !!!
-----------------------------------------------------------------------------
For comments, bug reports etc. write to:
Fred Bayer
Artilleriestr. 21a
W 8000 Munich 19
Germany
or
Email: bayerf@lan.informatik.tu-muenchen.de