AcornUser045-Apr86insert.pdf

(1880 KB) Pobierz
ACORNSOFT
it om f
The choice of experience
in software.
AIME
Ar4')15 67o LetifA J 5 S
A CHOICE OF PROGRAMMING LANGUAGES
FOR THE BRITISH BROADCASTING CORPORATION
MICROCOMPUTER SYSTEM
IIRI11,11 B R O A D , A , T I N I C O R P O R AT I O N
M A , I L K E I l I I N O L A ,LOMPUTFR
ISO-Pascal is the natural
language for large-scale
programming, compiling to a
compact intermediate code,
which is then interpreted to
give a performance superior to
interpreted BASIC, without the
complexities of machine code.
The philosophy behind the
design of Pascal was to
provide a language in which
the programmer's intentions
are explicitly stated in the
program Thus all variables
must be declared with their
precise type, with array
bounds stated, and the
enumerated types allow the
programmer to define the set
of values that a variable can
take. The result is faster
debugging and comprehensive
error-checking both at
compile time and run time
These features also make it
ideal for educational use at all
levels.
Sample applications: writing
business packages, compilers;
learning programming.
programs, and can optionally
generate full textual error
messages when used with a
disc system
ISO-Pascal is supplied with a
comprehensive user guide
including a copy of the BSI
ISO-Pascal specification, an
introductory tutorial manual, a
function key strip and a
reference card of editor
commands and error
messages. Each version
includes an extended version
to ISO-Standard Level 1
supplied on disc to take full
advantage of a Master Turbo,
or a 6502 Second Processor if
fitted. The disc also includes
several demonstration programs
Types Supported
THE ACORNSOFT RANGE OF LAkGuAGEs PROVIDES A WIDE
CHOICE O F DIFFERENT APPROACHES T o PROGRAMMING
PROBLEMS A N D APPLICATIONS, A N D GIVES ACCESS T o
SOFTWARE ALREADY WRITTEN IN THESE LANGUAGES.
ALL ACORNSOFT LANGUAGES A R E DEVELOPED
ESPECIALLY FOR USE WITH THE BBC MICROCOMPUTER SYSTEM
SERIES OF MACHINES, AND INCLUDE CONVENIENT EXTENSIONS
To TAKE ADVANTAGE OF THE GRAPHICS, SOUND, AND OTHER
SPECIAL FEATURES OF THESE MACHINES.
FOR EACH LANGUAGE THERE IS A SPECIALLY-WRITTEN
COMPREHENSIVE REFERENCE M A N U A L A N D , W H E R E
APPROPRIATE, A PROGRAMMING INTRODUCTION BOTH O F
WHICH MAY BE PURCHASED SEPARATELY IN MANY CASES THE
PACKS ALSO INCLUDE DEMONSTRATION EXAMPLE PROGRAMS,
A REFERENCE CARD, OR A FUNCTION-KEY STRIP.
ALL LANGUAGES ARE SUP, PLIED ON R O M , M D ARE
COMPATIBLE WITH THE BBC MKIKKOMPUTER MODEL B, B+,
128K B+, AND MASTER 128, MOOFFER INCREASED EXECUTION
SPEED A N D M E M O RY I F U S ! D W I T H A 6 5 0 2 SECOND
PROCESSOR OR MASTER TURBO (0-PROCESSOR. IN ADDMON,
SPECIAL R O M CARTRIDGE VERSIONS OF ISOPASCAI, LOGO,
AND LISP M E AVAILABLE FOR U E WITH THE MASTER 128. To
USE THE OTHER LANGUAGE R M s WrrH THE MASTER 128
THEY SHOULD B E INSERTED INTO A BLANK CARTRIDGE
AVAILABLE SEPARATELY.
char (1 byte)
character
boolean (1 byte)
true/false
integer (4 bytes)
—2E9 to 2E9
real (5 bytes)
—1.7E38 to 1.7E38,
9 • digit accuracy
sets of up to 256 elements
up to 256 elements
pointer to the heap
for input/output
set (32 bytes)
enumerated (1 byte)
pointer (2 bytes)
file (5 + element size)
array
arrays/text
record
concatenation of components
Stand Alone Generator The
Acornsoft ISO-Pascal is a full
implementation of Pascal to
the BSI/ISO standard, with
sound and graphics
extensions. Two versions are
available: in two language
ROMs for the BBC
Microcomputer models B,
B+, or B+ 128K; and on
Cartridge ROM for the Master
128. Each version is ISO-
Standard Level 0, and
comprises the compiler,
intermediate code interpreter,
and full screen editor. On the
Master 128 the resident editor
EDIT will be called from ISO-
Pascal automatically.
With the language in ROM or
Cartridge ROM programs may
be edited, compiled, and run
while retaining the source text
in memory, and without
requiring disc access. Program
development is thus very rapid,
making the system ideal for
education. Where programs
are too large to fit into
memory they may alternatively
be compiled to or from disc.
For speed-critical programming
machine code can be
incorporated into Pascal
programs and called from
Pascal routines,
The compilers feature
comprehensive error checking
which can be disabled for
maximum speed of debugged
ISO-Pascal Stand Alone
Generator is a utility for use
with the ISO-Pascal system
which allows the distribution
of finished Pascal programs to
users who do not themselves
have the ISO-Pascal system.
Normally, the only way to run
compiled Pascal programs is
by use of the Pascal
interpreter. The Stand Alone
Generator constructs a file by
adding only those sections of
the interpreter that are
required by the user's
program, thus leaving as
much memory as possible free
for use by the program.
The Stand Alone Generator
provides facilities for
combining machine code
routines with Pascal programs,
and it produces code
compatible with a 6502
Second Processor and with
different filing systems (such
as NFS or ADES).
The pack consists of a disc, a
user guide and a licence which
allows up to 100 commercial
copies of a program
developed using the system to
be distributed. An application
form for a licence, which
permits the distribution of
unlimited copies for up to five
years, is also included
Logo is designed to introduce
children and students to
elementary programming
techniques using a
programmed 'screen turtle' to
create graphics displays. It
uses a set of simple
commands centred on the
turtle, rather than the more
usual cartesian coordinate
system, and this has since
become widely known as
'turtle graphics'. In addition
Logo includes many list-
processing facilities, making it
both a powerful introduction
to programming and a
problem-solving tool.
Sample applications: home
and school education in
graphics, mathematics,
databases and problem
solving at primary level and
above.
Acornsoft Logo is a full
implementation of Logo,
containing all the standard
turtle graphics and list-
processing functions, It is
available in two versions: on
two language ROMs for the
BBC Microcomputer Model B,
6-1-, or 128K B+; and on a
ROM Cartridge for the Master
128. Additional graphics
features include changeable
screen mode allowing multi-
colour graphics, split and
variable sized graphics and
text windows, and a NIB
feature which allows the turtle
to make use of the BBC
Microcomputer graphics
system; for example, it allows
the drawing of dotted lines or
filled triangles under turtle
control, and the SPRITE
facilities of the Acomsoft
Graphics Extension ROM.
Multiple screen turtles can be
'hatched' and controlled
independently using simple
list-processing instructions,
L- • - - vi',1. •--'''''
ii,...
----vr-
and providing a convenient
link between Logo's graphics
and list-processing facilities. A
variety of floor turtles may
also be driven,
story-writing program,
computer conversation, a
logic programming system,
and a simple learning
program.
Logo procedures may be
interrupted with the Escape
key, and the program
examined or even altered
before execution is resumed
with the CONTINUE
command, thus enabling
programs to be debugged
very simply.
Each pack includes an
introductory manual, a
comprehensive reference
manual, a disc and cassette
containing the floor turtle
drivers and other utilities, a set
of example programs and an
accompanying explanatory
booklet and a reference card.
Types Supported
Integer
—10E9 +1 to 10E9-1
—1,7E38 to 1. 7E38,
9-clgt accuracy
Floating point (5 bytes)
Lists
eg. [THIS IS [A LIST)]
Words
eg 'HELLO.
Acornsoft Logo includes a full
implementation of all the list-
processing and
text-manipulation features of
the language. It includes
property lists, allowing the
language to be used to build
a simple filing system. Practical
examples of list processing
included with the
demonstration programs are a
BCPL is one of the most
flexible of modern structured
languages and it is easy to
learn. BCPL allows the
programmer to implement
arrays, records, and other
datatypes by providing direct
access to machine addresses
and operators for their
manipulation, This gives BCP
the flexiblity of machine code
making it especially suitable
for low-level and system
programming, but does plac(
a greater onus on the
programmer due to the
limited error checking. It is
particularly good at handling
input and output, and hence
is often used to write utility
programs.
Sample applications: writing
business packages, system
software, compilers.
The Acornsoft BCPL package
consists of a 16K ROM, 4018C
disc containing the compiler,
screen editor, a 6502
assembler, other utilities and
program development aids,
and some examples of BCPL
code. A comprehensive 450
page user guide is also
included in the package. The
BCPL language can be used
with any Acorn filing system,
and it will automatically claim
all available memory from a
Master Turbo or a 6502
Second Processor if fitted.
THE ACoRNsorr RANGE OF L44GUAGES PROVIDES A WIDE
CHOKE O F DIFFERENT APPROACHES T o PROGRAMMING
PROBLEMS A N D APPLICATIONS, A N D GIVES ACCESS T o
SOFTWARE ALREADY WRITTEN IN THESE LANGUAGES.
ALL ACORNSOFr LANGUAGES A R E DEVELOPED
ESPECIALLY FOR USE WrrH THE BBC MKROCOMPUTER SYSTEM
SERIES OF MACHINES, AND INCLUDE CONVENIENT EXTENSIONS
To TAKE ADVANTAGE OF THE GRApplics, SOUND, AND OTHER
SPECIAL FEATURES OF THESE MACHINES.
FOR EACH LANGUAGE THERE IS A SPECIALLY-WRMIEN
COMPREHENSIVE REFERENCE M A N U A L A N D , W H E R E
APPROPRIATE, A PROGRAMMING INTRODUCTION B o m O F
WHICH MAY BE PURCHASED SEPARATELY. IN MANY CASES THE
PACKS ALSO INCLUDE DEMONSTRATION EXAMPLE PROGRAMS,
A REFERENCE CARD, OR A FUNCTION-KEY STRIR
ALL LANGUAGES ARE SuP, puED O N R O M , A N D ARE
COMPATIBLE WM1THE BBC MKROCOMPUTER MODEL B, B+,
128K B+, M D MASTER 128, MD:OFFER INCREASED EXECUTION
SPEED A N D M E M O RY I F USED W I T H A 6 5 0 2 SECOND
PROCESSOR OR MASTER TURBO 0-PROCESSOR. IN ADDMON,
SPECIAL R O M CARTRIDGE VERSIONS OF ISO-PASCAL, LOGO,
AND LISP ARE AVAILABLE FOR L E WM1 THE MASTER 128. To
USE THE OTHER LANGUAGE R O M s WITH THE MASTER 128
THEY SHOULD B E INSERTED INTO A BLANK CARTRIDGE
AVAILABLE SEPARATELY.
Acornsoft COMAL adheres
closely to the original
specification of the language
by B. Christensen, and supports
reals, integers, booleans, and
strings, as well as multi-
dimensional arrays and extensive
file handling facilities.
Types Supported
Integers (4 byte)
—2E9 to 2E9
Floating point (5 byte)
BCPL Calculations Package
BCPL is an untyped language,
but routines can be added to
provide floating-point and
fixed-point arithmetic, and
these are available in the BCPL
Calculations Package.
Types Supported
-1 7E38 to 1 7E38,
9-digit accuracy
integer (2 byte)
RCN_ word
floating point (6 byte)
10E38 to 10E-38
fixed point (8 byte)
( K R word1/10000
10E10 to 10E4 14-clIgit accuracy
fast integer (2 byte)
fy-writing program,
nputer conversation, a
ic programming system,
a simple learning
gram
io procedures may be
?rrupted with the Escape
,and the program
mined or even altered
ore execution is resumed
h the CONTINUE
nmand, thus enabling
grams to be debugged
y simply
:h pack includes an
'oductory manual, a
nprehensive reference
nual, a disc and cassette
gaining the floor turtle
ters and other utilities, a set
ample programs and an
.ompanying explanatory
Dklet and a reference card
ypes Supported
iteger
BCPL Stand Alone
Generator This package
converts programs developed
in BCPL into stand alone
programs which can be run on
any BBC Microcomputer,
without the BCPL ROM fitted.
Stand Alone programs can be
produced either as files stored
on any suitable medium or as
language ROMs. This package
consists of a disc of utility
programs, a user guide and a
licence permitting the
distribution of up to 100 copies
of a program developed using
the system. A separate licence
permitting unlimited distribution
is also available
PROLOG is fundamentally
different from other
programming languages in
the way that problems are
expressed Rather than being
encoded as a sequence of
steps to be followed to solve
the problem, in PROLOG they
are expressed as a set of facts
about the problem, and rules
which relate these facts to one
another. This makes PROLOG
especially suitable for solving
problems in which the route
to the solution is not clear.
ACORNSIC
LISP is the fundamental list-
processing language of
artificial intelligence research,
and the fact that it is still
widely used more than twenty
years after its original design is
credit to the power of the
language. Due to its simple
overall structure LISP offers
more flexibility in data and
control structures than other
languages, while giving fast
enough execution for
language design applications.
Sample applications; natural
language manipulation,
compiler design, experimentation
with artificial intelligence
problems
PRO
—10E9 + I to 10E9 —
boating point (5 bytes)
-1 7E38 to 1 7E38,
9-dgt accuracy
iStS
eg THIS IS IA LIST]]
eg 'HELLO.
Vords
BCPL is one of the most
flexible of modern structured
languages and it is easy to
learn. BCPL allows the
programmer to implement
arrays, records, and other
datatypes by providing direct
access to machine addresses,
and operators for their
manipulation. This gives BCPL
the flexibiity of machine code,
making it especially suitable
for low-level and system
programming, but does place
a greater onus on the
programmer due to the
limited error checking. It is
particularly good at handling
input and output, and hence it
is often used to write utility
programs.
Sample applications: writing
business packages, system
software, compilers,
The Acornsoft BCPL package
consists of a 16K ROM, 40/80
disc containing the compiler, a
screen editor, a 6502
assembler, other utilities and
program development aids,
and some examples of BCPL
code. A comprehensive 450
page user guide is also
included in the package. The
BCPL language can be used
with any Acorn filing system,
and it will automatically claim
all available memory from a
Master Turbo or a 6502
Second Processor if fitted.
The design of COMAL arose
out of the desire for a block-
structured language like
Pascal for educational use, but
interpreted like BASIC for the
fastest possible development
of programs. It includes a
number of features which
encourage well-structured
programming and facilitate
debugging and maintenance
of software, The success of
the design is such that it has
been chosen as the
educational standard in many
European countries
Sample applications learning
structured programming at
secondary level and above.
A recent increase in interest in
PROLOG followed the selection
of PROLOG by the Japanese as
the foundation for their Fifth
Generation Computer Systems.
Sample applications: relational
databases, expert systems, and
problem solving; educational
use in manipulating project data
Acornsoft micro-PROLOG is
compatible with versions of
the language available on
several other computers and
in addition includes
commands to take advantage
of the BBC Microcomputer's
sound and graphics facilities.
The package consists of a
language ROM, a
comprehensive reference
manual and a disc containing
extension modules including
the commonly used 'SIMPLE'
and the more recently developed
VITSI' modules. Also included is
a version of the interpreter to
take full advantage of a Master
Turbo or a 6502 Second
Processor if fitted
Types Supported
Acornsoft LISP is a fast
interactive implementation of
LISP containing a number of
useful extensions to LISP
including LOOP WHILE and
,
UNTIL control functions, It can
be used in any graphics mode,
and several extensions to the
language are provided to take
advantage of the BBC
Microcomputer's graphics and
sound facilities including VDU,
CALL, MODE, TIME, INKEY
and ADVAL. The system
includes a LISP editor and a
pretty-printer written in LISP
so that they can be extended
by the user.
It is available either as a
language ROM for the BBC
Microcomputer Models B,
B+, and 128K B-I-, or on ROM
Cartridge for the Master 128.
Each version will automatically
relocate itself to give
additional memory on a
Master Turbo, or if a 6502
Second Processor is fitted, A
comprehensive guide to
Acornsoft LISP 'LISP on the
BBC Microcomputer: is
supplied with the ROM
Cartridge version, or is
available separately for use
with the other versions. As
well as an introduction to
programming in LISP it
,
includes a complete glossary
of all predefined functions,
and several example programs
illustrating typical applications
of the language.
Types Supported
integer (16 bit)
—32768 to 32767
Integers
—10E9 + 1 to 10E9— 1
-1 7E38 to 1_7E38,
9-dign. accuracy
Floating point (5 byte)
C Pi
Agluct,vdion9,,agelon0111
. . 5 6 0 0 h a v o N n i k i l e f Modol5
strings
lists
up to 127 characters
eg. (AB (C D)(E))
Lists
eg b c )
ISO-Pascal
Sample Program
program days of week (input,
output),
type days — (monday,
tuesday, wednesday, thursday,
friday, saturday, sunday),
var today days,
begin
for today. — monday to
sunday do
if today in Imonday• _friday]
then writeln ('gel up - its
work today')
else writeln (Aft! a he
Logo
Sample Program - 4 Turtles
Linked Together
TO CROSS
DRAW
HATCH [1 231
START 0 START 1 START 2
START 3
TELL 10 1 2 31
END
TO START NUMBER
TELL NUMBER
RIGHT NUMBER *90
SHOVVTURTLE
END
Micro-PROLOG
Sample Program - Drug use
Expert System
add (x recommended for y if y
complains of a and x
suppresses a and not x may
harm y)
add (x may harm y if x
aggravates rand y suffers
from z)
add (aspirin suppresses
headache)
add (valium suppresses
anxiety)
add (aspirin aggravates peptic
ulcer)
add (Alice complains of
headache)
add (Alice suffers from
ingrowing toenails)
is (vallum recommended for
Alice)
NO
which (x: x recommended for
Ake)
aspirin
No (more) answers
LiSP
Sample Program - Finds a
Value in a List
(DEFUN FIND (LIST VALUE)
(COND
((NULL LIST) NIL)
((EC) VALUE (CAR USD) LIST)
IT (FIND (CDR LIST) VALUE))))
FORTH
Sample Program - Factorial
Function
FORTH began life in a public
domain version, which
contributed to its popularity as
one of the first languages
available on microcomputers,
It is a compiled language
using a concise stack-oriented
syntax, and programs run very
fast (typically five times faster
than BASIC), One of the key
features of FORTH is the ability
to define new keywords,
allowing the user to create
new FORTH-based languages.
Sample applications: machine
control, games development.
Acornsoft FORTH adheres to
the 1979 Standard. It is
supplied on a language ROM
which permits the use of any
graphics mode, and includes a
resident FORTH screen editor,
macro assembler, textual error
messages, and several
additional words to control
the BBC Microcomputer's
sound and graphics facilities.
A slightly restricted version of
Acornsoft FORTH is also
available on disc or cassette.
ACOPFISirfi x k i r ,
in
'
FACT 1 SWAP aDUP IF 1+
DO I * LOOP THEN
end.
BCPL
Sample Program - Print Octal
Number
LET WRITEOCT (N,D) BE
IF D 1 DO WFUTEOCT
(N>>3,D-1)
WRCIA(N & 7)+ l0l)$)
COMM_
Sample Program - Read and
display text
10 WHILE NOT EOD
20 READ textS
30 PRIINT textS
40 END WHILE
50 PRINT 'that's all -
60 END
70 DATA Some, text, to, read
Stock
Prke inc
VAT
City
T o
t
a
l
disc El ROM q ROM Cartridge CI
(SO-Pascal for the Master 128
(including manuals)
ISO-Pascal for the Models B,13+
and 128K B+ (including manuals)
Code
SOL18
SBL18
SBD18
SNL24
SOLO6
69.00
69.00
10.00
34.95
69.00
ISO-Pascal Reference Manual
ISO-Pascal Stand Alone Generator
Logo for the Master 128
(including manuals)
Logo for the Models B, B+,
and 128K B + (including manuals)
Introduction to Logo
513106
58020
58021
SNLO3
58010
SNL10
HI SNL12
93L19
58019
SBL17
58032
SOL14
SBL14
58004
SBL13
58003
ADF13
69.00
3.50
7.50
59.80
15.00
34.50
49,90
49.85
10.00
79.95
10,00
59.80
49.85
7.50
49.85
7.50
14.99
Total
FORTH
inemellaChimr"
Logo Reference Manual
BCPL (including User Guide)
et,,g
h a
BCPL User Guide
BCPL Calculations Package
BCPL Stand Alone Generator
COMAL (including manual)
A general introduction to
Acornsoft FORTH, 'FORTH on
the BBC Microcomputer', is
available separately and is
recommended for use with
the language. It includes a full
description of Acornsoft
FORTH accompanied by many
practical examples, and a
glossary defining the actions
of all the standard words
Types Supported
Integer (16 bit)
—32768 to 32767 or
0 to 65535
Introduction to COMAL
Micro-PROLOG (including manual)
Micro-PROLOG Reference Manual
I' 'I e l A r . C P •
LISP for the Master 128*
(including manual)
LISP for the Models B, B+,
and 128K B+
LISP Manual
FORTH
FORTH Manual
Eprom cartridge
Name
Address
T
e
l
No
Cheque/PO enclosed for
Please debit my Access/Barclaycard No
Prices are correct at time of going to press.
Acornsoft reserves the right to update without prior notice.
To purchase any of these titles
either contact your local
dealer or complete and send
this order form to Acorn
Computers Limited,
Acornsoft, Unit 5, Cambridge
Technopark, 645 Newmarket
Road, Cambridge CBS 8PD.
available March 1986
ACORNSSFT
The choir of ?xi), rienre
in software.
Acorn Computers Limited,
Cambridge Technopark, 645 Newmarket Road,
Cambridge CBS 8PD.
APP 62
Zgłoś jeśli naruszono regulamin