diff options
author | abs <abs> | 2001-06-04 09:59:04 +0000 |
---|---|---|
committer | abs <abs> | 2001-06-04 09:59:04 +0000 |
commit | a6681cf5a10c5d23a49da66b66207c5be1927991 (patch) | |
tree | 28527f63c38b626327967375bd8a0a2c2a45ffc5 /lang | |
parent | 57ef20bad9cf73d5f401756fca65838145b0a007 (diff) | |
download | pkgsrc-a6681cf5a10c5d23a49da66b66207c5be1927991.tar.gz |
Updated brandybasic to 1.0.10
Changes since 1.05:
Version 1.06 15/12/2000
- Bug where functions could be used as procedures (and vice
versa) fixed.
- Fixed bug in the VAL function where it would sometimes return
the wrong result as the string being converted was not
terminated properly.
- Fixed bug in BPUT introduced in 1.05.
- HIMEM can now be changed.
- Blank lines in files are no longer discarded when loading a
program.
- The initial value and step used if the lines of a program are
renumbered when loading a program have been changed to 1 and
1 respectively, the idea being that they will match the numbers
of the lines of the program in the file in an editor.
- Under RISC OS, the 'edit' command can now invoke editors such
as StrongED and Zap.
- Added limited support for making BBC MOS calls via USR and
CALL so that OS_Byte 0 could be used to determine the type of
the machine on which the interpreter is being run.
Version 1.07 01/01/2001
- Fixed bug in function SUM when the argument was a string array.
The function should return all of the strings in the array
concatenated together but it was producing rubbish.
- Fixed bug in function SUM LEN. This was failing with the error
message 'type mismatch: array wanted'.
- Fixed bugs in the EOF and EXT functions that show up when the
file is not a disk file but, for example, a serial port.
- Sorted out some more portability issues, but at a cost of
making the program about 10% slower.
- The code for the OSCLI ... TO statement has been improved.
- The RISC OS version of the program has been changed to use
direct OS calls in fileio.c instead of C library functions. This
allows Basic programs to carry out I/O operations on a file using
a mixture of Basic statements and SWIs.
- The INPUT# code has been tidied up.
- Typing in token values directly on the command line is now
handled correctly, for example, typing in the hex value &F1
no longer gives the error 'The interpreter has gone wrong'.
- Under NetBSD and Linux, the handling of I/O redirection on the
program's command line has been sorted out. It is now possible
to invoke the program so that it takes input from or directs
output to a file instead of using the keyboard for input and
screen for output.
- The QUIT command can now optinally be followed by a value that
the interpreter passes back to the underlying operating system
as a return or status code.
Version 1.08 19/04/2001
- Fixed 'big endian' bug in code that checks if a file contains
a tokenised Basic program. The test was failing on big endian
machines.
- Changed code that writes the four byte start marker at the
start of a Basic program so that it is always written in
the same order, that is, fixed another endian bug.
- Extended the WAIT statement so that the time to wait can
be supplied. The time interval is in centiseconds.
Version 1.09 29/04/2001
- Fixed bug in INSTR where the end of the string being searched
was missed when the first character of the wanted string
occured a number of times in the search string.
- Tidied up STR function so that STR$~ produced the same results
as PRINT~, for 'STR$~255' now produced 'FF' instead of 'ff'.
Also changed the format for floating point values so that an
exponent is marked with an 'E' instead of an 'e'.
- Fixed bug in INPUT statement where INPUT ' cleared the screen
instead of skipping to the next line.
- Fixed bug in INPUT statement where 'INPUT TAB() <variable>'
printed a '?' prompt when it should not have done so.
- Fixed a problem in EVAL where the pointer to the expression
that contained the EVAL function was being corrupted if the
string being evaluated contained a reference to a function
that had not been called before. 'EVAL(EVAL(a$))' now works
as well.
Version 1.10 28/05/2001
- Fixed bug in EDIT introduced fixing EVAL in version 1.09. A
'bad token' error message was being produced when editing a
single line with EDIT <line> under DOS and Unix. The amended
line was being saved correctly but the error message was then
being displayed.
- Tidied up handling of @% in PRINT and STR$ when the number of
digits to print is zero. '@%=0: PRINT PI' now produces
3.141592654 instead of 3, as per the Acorn interpreter.
- Added function XLATE$. This either translates a string using
a user-supplied translate table or translates it to lower case
if no translate table is supplied.
- Added function VERIFY. This is used to check that a string
contains only specific characters.
- Changed EDIT and EDITO so that EDIT uses the last EDITO value
instead of LISTO when converting the program to text when it
is edited. If EDITO has not been used, the LISTO value is
used instead.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/brandybasic/Makefile | 10 | ||||
-rw-r--r-- | lang/brandybasic/distinfo | 7 | ||||
-rw-r--r-- | lang/brandybasic/patches/patch-aa | 17 | ||||
-rw-r--r-- | lang/brandybasic/pkg/PLIST | 5 |
4 files changed, 29 insertions, 10 deletions
diff --git a/lang/brandybasic/Makefile b/lang/brandybasic/Makefile index ae176f7eee1..8e11074d8b9 100644 --- a/lang/brandybasic/Makefile +++ b/lang/brandybasic/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2001/02/25 04:17:55 hubertf Exp $ +# $NetBSD: Makefile,v 1.4 2001/06/04 09:59:04 abs Exp $ # -DISTNAME= b105 -PKGNAME= brandybasic-1.05 +DISTNAME= b110 +PKGNAME= brandybasic-1.0.10 CATEGORIES= lang MASTER_SITES= http://www.argonet.co.uk/users/dave_daniels/ EXTRACT_SUFX= .tgz @@ -11,13 +11,11 @@ MAINTAINER= abs HOMEPAGE= http://www.argonet.co.uk/users/dave_daniels/ COMMENT= Brandy Basic V interpreter - Acorn ARM Computers BASIC dialect -WRKSRC= ${WRKDIR}/brandy-105 +WRKSRC= ${WRKDIR}/brandy-1.0.10 DOCDIR= ${PREFIX}/share/doc/brandy EXAMPLEDIR= ${PREFIX}/share/examples/brandy -MAKEFILE= makefile - do-install: ${INSTALL_DATA_DIR} ${DOCDIR} ${INSTALL_DATA_DIR} ${EXAMPLEDIR} diff --git a/lang/brandybasic/distinfo b/lang/brandybasic/distinfo index 8248852ac62..fd8b901b935 100644 --- a/lang/brandybasic/distinfo +++ b/lang/brandybasic/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.2 2001/04/19 15:00:48 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/06/04 09:59:04 abs Exp $ -SHA1 (b105.tgz) = 9daeab869d3c4d4a7c49acb919d713ebda35c775 -Size (b105.tgz) = 324977 bytes +SHA1 (b110.tgz) = c08c7ef4dfa429909022f263e1cf7cff9b73bc80 +Size (b110.tgz) = 356746 bytes +SHA1 (patch-aa) = 7147f533be8adc1aca2c70124802d678deae711e diff --git a/lang/brandybasic/patches/patch-aa b/lang/brandybasic/patches/patch-aa new file mode 100644 index 00000000000..21f6b59261c --- /dev/null +++ b/lang/brandybasic/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1 2001/06/04 09:59:04 abs Exp $ + +--- Makefile.orig Sun Jun 3 15:00:00 2001 ++++ Makefile +@@ -3,10 +3,10 @@ + CC = gcc + LD = gcc + +-CFLAGS = -g -DDEBUG ++# CFLAGS = -g -DDEBUG + CFLAGS2 = -O2 -fomit-frame-pointer + +-LDFLAGS = ++# LDFLAGS = + + LIBS = -lm + diff --git a/lang/brandybasic/pkg/PLIST b/lang/brandybasic/pkg/PLIST index 91ffa11cf66..140981f8302 100644 --- a/lang/brandybasic/pkg/PLIST +++ b/lang/brandybasic/pkg/PLIST @@ -1,11 +1,13 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/06 15:13:11 abs Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/06/04 09:59:04 abs Exp $ bin/brandy share/doc/brandy/COPYING share/doc/brandy/README share/doc/brandy/basic share/doc/brandy/compiling share/doc/brandy/graphics +share/doc/brandy/history share/doc/brandy/internals +share/doc/brandy/messages share/doc/brandy/use share/examples/brandy/cmdline share/examples/brandy/combsort @@ -16,6 +18,7 @@ share/examples/brandy/hanoi share/examples/brandy/hex share/examples/brandy/lands share/examples/brandy/pastriang +share/examples/brandy/readme share/examples/brandy/sieve share/examples/brandy/tekdemo1 share/examples/brandy/tekdemo2 |