home *** CD-ROM | disk | FTP | other *** search
- Ada/Ed translator and interpreter
-
- 0. Introduction
-
- This file (sort of) documents the Peter Burwood port of the Ada/Ed
- translator and interpreter for the Ada programming language to the
- Acorn range of ARM based machines, running RISC-OS 2 / 3. For copyright
- details see !ReadMe.
-
- This is the second release of version Ada/Ed, now based upon version 1.11.2.
- It appears NYU are no longer developing Ada/Ed since the release of GNAT
- (the GNU Ada system). GNAT cannot be ported until the GNU assembler (GAS) is
- available for ARM and then must be cross-compiled from a GNAT supported
- platform.
-
- Ada/Ed generally runs in a 640K wimpslot though large programs may
- require more.
-
- This is a binary distribution only (sources are over 3MB in size), and
- consists of the following packages :
-
- !Ada - Non-specific files, documentation, etc.
- !Boot
- !Help DDE help file.
- !ReadMe General help and copyright.
- !ReadMe2 This file.
- !Run
- !Sprites
- ada.predef Ada system packages.
- Desc DDE desc file.
- Doc.* The Ada/Ed users manual and other documentation.
- Messages DDE messages file.
- Templates
- c.* Example C program called from Ada.
- o.* Object file for example c program.
-
- Ada/Ed translator and interpreter
- bin.adabind Ada linker.
- bin.adacomp Ada compiler control program.
- bin.adaexec Ada interpreter.
- bin.adalib Ada library manager.
- lib.adagen Ada virtual machine code generator.
- lib.adaint Partially linked Ada interpreter for interfacing to C
- lib.adafront Ada parser and semantic analyser.
- lib.predef compiled Ada predefined library.
-
- !AdaBind
- DDE control files for Ada binder.
-
- !AdaLib
- DDE control files for Ada library manager.
-
- Examples
- ada.* some Ada examples of my own (light on comments!)
- c.* example interface to C code from Ada
- dat.* data files for Ada examples
- demos.* demos supplied with Ada/Ed version 1.11.2
- these files can be run by using the make file
- makedraw shows a method of using dependancies with Amu.
- makefile this will make and run all the examples in ada.*
- o.* object file for example interface to C code from Ada
-
-
- 1. Installation
-
- The (default) installation of Ada/Ed is relatively simple :
-
- * Copy this directory, and its files, onto your hard disc.
- * Double click on the !Ada application to setup the environment.
-
- This version uses the DDE tools.
-
- 2. Using Ada/Ed
-
- See the Examples.makefile file for examples on compiling and running some of
- the supplied example Ada programs. Read the file !Ada.doc.adaed for a fuller
- description. This file has been unedited, apart from formatting, and so
- contains some non RISC OS notes, particularly the FORTRAN stuff, though this
- may work.
-
- File names are automatically converted from <file>.<ext> when necessary to
- <ext>.<file> if the original file doesn't exist. Directories are created as
- necessary and removed when they become empty.
-
- During compilation work files are created in the <library> directory and
- should be automatically deleted when they are no longer required. The output
- of the compiler is also stored in the library directory as rather
- unhelpfully `numbered' files. If the source file to be compiled contains
- errors then examine the listing file in the lis directory. Re-running the
- compiler should delete all obsolete work files, though not always!
-
- There is a limitation of approximately 256 units in am Ada library and a
- cunning file naming convention is used to overcome the RISC OS limit of 77
- files per directory. Basically, additional directories are created when
- required by appending a number from 1 to 9 to the directory name.
-
- For most of the details for using Ada/Ed see the file !Ada.doc.adaed
-
- 2.1 RISC-OS specific features.
-
- * Interworking with Norcroft cc
-
- Code compiled with Ada/Ed can be linked by the Ada binder with code produced
- by the Norcroft CC compiler, and probably other APCS-R conformant compilers,
- with no problems. See !Ada.ada.test_int and !Ada.doc.adaed for more
- information.
-
- * Wimpslot
-
- Ada/Ed is able to extend the wimpslot while executing an Ada program, though
- 640K is normally sufficient.
-
- * Debugging
-
- Debugging is only available by a simple trace option. See !Ada.doc.adaed for
- more information.
-
- * AMU support
-
- The files are compiled to rather unfriendly named files in the library
- directory and it is impossible for AMU to determine whether a unit is up to
- date. However, it is possible to `fudge' it so that Amu can work. See the
- example makefile `Examples.demos.makedraw'.
-
- * Throwback
-
- Throwback of errors is now supported.
-
- 3. Known bugs / Problems
-
- This is a list of all the known (by me) bugs and problems in Ada/Ed
- 1.11.2 Release 1. This list does not include any implementation restrictions
- mentioned in !Ada.doc.appendix_f.
-
- Bug 1:
- The compiler may crash with a `getsymptr' error. I have seen this happen
- with a package incorporating generic functions which accesses package level
- global symbols (in the parent package of the generic) and is then with'ed by
- a later unit.
-
- Reported by: Me
- status: Not yet cleared
-
- Preventative actions:
- Try recompiling the unit that uses the generic in the same file as the
- generic.
-
- ================================================================================
-
- Bug 2:
- Occasionaly, Ada/Ed calls later phases of the compiler when the source
- contained errors. This generally results in a `chaos' message.
-
- Reported by: Me
- status: Fixed in this release.
-
- ================================================================================
-
- Bug 3:
- If you use a command line like `adacomp -s adfs::harddisc4.$.work.bug.ada'
- (or ... ada.bug), the resultant listing file will be called lis.harddisc4 in
- your current directory.
-
- Reported by: Me
- status: fixed in this release
-
- ================================================================================
-
- 4. Acknowledgements, sources and other bits
-
- * Acknowledgements
-
- Thanks go to the New York University for writing and implementing this
- software.
-
- * Sources
-
- The standard sources for Ada/Ed are freely available from cs.nyu.edu
- (128.122.140.24) in the directory pub/adaed/plclass/Adaed-1.11.2.tar.Z via
- anonymous FTP. These sources have not been converted to run on Acorn
- machines. There are also some patches applied from cs.man.ac.uk.
-
- If you want the complete sources for Ada/Ed for Acorn machines, your best
- action is probably not to bother at the moment, and wait till a later
- version comes out with reported bugs hopefully fixed, and then get in touch
- with me.
-
- 6. Obtaining Ada/Ed for RISCOS
-
- Ada/Ed can be obtained from various FTP sites (HENSA etc.) or can be
- obtained directly from me by sending 2 single density or 1 high density
- floppy discs and return postage to:
-
- 5. Contacting me
-
- Peter Burwood
- 205 Masons Avenue
- Harrow
- Middx
- HA3 5AZ
-
- I can also be contacted by email as `adaed@arcangel.demon.co.uk'
-