home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
EFFO
/
pd6.lzh
/
DOC
/
tile.doc
< prev
Wrap
Text File
|
1990-05-16
|
6KB
|
199 lines
TILE(1)
NAME
tile - c based forth-83 standard programming environment
SYNOPSIS
forth [file ...] [-a argument ...]
forth [file ...] [-s start-symbol] [argument ...]
DESCRIPTION
forth uses a command syntax much like a compiler. The file
arguments are loaded before the interaction top loop is
started. A start-symbol may also be given as an argument
thus allowing forth to act as a `compile-and-go' compiler of
applications. An extra options or parameters passed to forth
may be accessed by the application. As extensions of the
Forth-83 Standard forth supports multi-tasking, exceptions,
vocabulary casting, private definitions, argument binding
and local variables. Written in C the kernel may be used as
a general purpose environment for interactive testing of C-
code.
To provide an interactive programming environment for
developing programs forth may be run as a sub-process to GNU
Emacs in a specialized forth-mode. Source code may be edited
and directly tested by passing either a paragraph of code or
a whole buffer to forth from Emacs. The forth-mode also sup-
ports documentation retrieval and automatic indentation of
forth code, comments and definitions.
An environment variable is used to specify file search paths
thus liberating and supporting management of libraries of
source code. forth compiles faster than most compilers link
with approx. 50.000 lines per minute on a SUN-3/60, thus
code is only saved in source form.
OPTIONS
-a argument ...
Allows access of the rest of the arguments. The first
arguments is the string forth.
-s start-symbol
Defines the symbol to be used instead of the normal
interaction top loop. The start-symbol becomes the
first argument and any further arguments may be
accessed by the application. The library contains some
examples of argument fetching functions.
LIBRARIES
The tile environment has currently three directories with
forth-83 source, test and example code and documentation.
The directory src contains Forth-83 source code library,
consisting of a number of data modelling, and debugging
tools, and high level multi-tasking constructs such as
1
TILE(1)
semaphores, channels and task types. Documentation of the
source code and the kernel are found in the directory doc.
Test programs for and example of usage of the source library
code may be found in the directory tst.
FILES
file.f83 Forth-83 source input file
file.doc Forth-83 source documentation file
file.tst Forth-83 source test file
kernel.c..h multi-tasking c based Forth-83 kernel
error.c..h error management package
io.c..h multi-tasking input package
memory.c..h memory management package
forth.c this application
forth.doc documentation of extensions
forth.el GNU Emacs forth-mode source
tile.1 this manual
Makefile puts the forth application together
ENVIRONMENT
TILEPATH Search path for library source files. A
normal setting is
`.:~/tile/src:~/tile/tst' which will
allow the file include function in forth
to locate library source files in
current directory, the standard library,
and the test code library. forth also
looks for files at the users home direc-
tory.
GNU EMACS FORTH MODE
The GNU Emacs forth-mode supports interactive programming,
automatic indentation of source code, and documentation
search of the forth kernel and library within Emacs. To
allow automatic loading of mode your .emacs file should con-
tain the following definitions;
(set-variable 'load-path
(append load-path
'(nil "~/tile")))
(setq forth-help-load-path '(nil "~/tile/doc"))
(setq auto-mode-alist
(append '(("\.tst$" . forth-mode)
("\.f83$" . forth-mode))
auto-mode-alist))
(autoload 'forth-mode "forth")
Further documentation about the forth-mode may be found by
giving the command `M-x describe-mode' in Emacs.
BUGS
Bugs should be reported to mip@ida.liu.se. Bugs tend
2
TILE(1)
actually to be fixed if they can be isolated, so it is in
your interest to report them in such a way that they can be
easily reproduced according to get newer version.
COPYING
Copyright (C) 1989 Mikael R.K. Patel
Permission is granted to make and distribute verbatim copies
of this manual provided the copyright notice and this per-
mission notice are preserved on all copies.
Permission is granted to copy and distribute modified ver-
sions of this manual under the conditions for verbatim copy-
ing, provided also that the section entitled "GNU General
Public License" is included exactly as in the original, and
provided that the entire resulting derived work is distri-
buted under the terms of a permission notice identical to
this one.
Permission is granted to copy and distribute translations of
this manual into another language, under the above condi-
tions for modified versions, except that the section enti-
tled "GNU General Public License" may be included in a
translation approved by the author instead of in the origi-
nal English.
AUTHORS
Mikael R.K. Patel
Computer Aided Design Laboratory (CADLAB)
Department of Computer and Information Science
Linkoping University
S-581 83 LINKOPING
SWEDEN
Email: mip@ida.liu.se
3