aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure18
-rw-r--r--configure.ac2
-rw-r--r--configure.ac.pamphlet2
-rw-r--r--src/ChangeLog7
-rw-r--r--src/boot/strap/tokens.clisp3
-rw-r--r--src/boot/tokens.boot3
-rw-r--r--src/interp/i-output.boot14
-rw-r--r--src/interp/scan.boot2
8 files changed, 30 insertions, 21 deletions
diff --git a/configure b/configure
index 0bf48680..671f7e9d 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for OpenAxiom 1.4.0-2010-06-28.
+# Generated by GNU Autoconf 2.63 for OpenAxiom 1.4.0-2010-07-18.
#
# Report bugs to <open-axiom-bugs@lists.sf.net>.
#
@@ -745,8 +745,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='OpenAxiom'
PACKAGE_TARNAME='openaxiom'
-PACKAGE_VERSION='1.4.0-2010-06-28'
-PACKAGE_STRING='OpenAxiom 1.4.0-2010-06-28'
+PACKAGE_VERSION='1.4.0-2010-07-18'
+PACKAGE_STRING='OpenAxiom 1.4.0-2010-07-18'
PACKAGE_BUGREPORT='open-axiom-bugs@lists.sf.net'
ac_unique_file="src/Makefile.pamphlet"
@@ -1513,7 +1513,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures OpenAxiom 1.4.0-2010-06-28 to adapt to many kinds of systems.
+\`configure' configures OpenAxiom 1.4.0-2010-07-18 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1583,7 +1583,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of OpenAxiom 1.4.0-2010-06-28:";;
+ short | recursive ) echo "Configuration of OpenAxiom 1.4.0-2010-07-18:";;
esac
cat <<\_ACEOF
@@ -1691,7 +1691,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-OpenAxiom configure 1.4.0-2010-06-28
+OpenAxiom configure 1.4.0-2010-07-18
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1705,7 +1705,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by OpenAxiom $as_me 1.4.0-2010-06-28, which was
+It was created by OpenAxiom $as_me 1.4.0-2010-07-18, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -21182,7 +21182,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by OpenAxiom $as_me 1.4.0-2010-06-28, which was
+This file was extended by OpenAxiom $as_me 1.4.0-2010-07-18, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21245,7 +21245,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-OpenAxiom config.status 1.4.0-2010-06-28
+OpenAxiom config.status 1.4.0-2010-07-18
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/configure.ac b/configure.ac
index b7cd2931..409df6f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.4.0-2010-06-28],
+AC_INIT([OpenAxiom], [1.4.0-2010-07-18],
[open-axiom-bugs@lists.sf.net])
AC_CONFIG_AUX_DIR(config)
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet
index 3c65ef15..02c9434c 100644
--- a/configure.ac.pamphlet
+++ b/configure.ac.pamphlet
@@ -1210,7 +1210,7 @@ information:
<<Autoconf init>>=
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.4.0-2010-06-28],
+AC_INIT([OpenAxiom], [1.4.0-2010-07-18],
[open-axiom-bugs@lists.sf.net])
@
diff --git a/src/ChangeLog b/src/ChangeLog
index 160d2232..8ce51027 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
+2010-07-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * boot/tokens.boot: Add char? as builtin function.
+ * interp/i-output.boot (appChar): Fix thinko.
+ (outformWidth): Likewise.
+ (WIDTH): Likewise.
+
2010-07-13 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/g-opt.boot: %sname is a side-effect free operator.
diff --git a/src/boot/strap/tokens.clisp b/src/boot/strap/tokens.clisp
index c55ed69a..5b02904d 100644
--- a/src/boot/strap/tokens.clisp
+++ b/src/boot/strap/tokens.clisp
@@ -203,7 +203,7 @@
(LIST (LIST '|alphabetic?| 'ALPHA-CHAR-P)
(LIST '|and| 'AND) (LIST '|append| 'APPEND)
(LIST '|apply| 'APPLY) (LIST '|atom| 'ATOM)
- (LIST '|cons?| 'CONSP) (LIST '|readOnly?| 'CONSTANTP)
+ (LIST '|char?| 'CHARACTERP) (LIST '|cons?| 'CONSP)
(LIST '|copy| 'COPY) (LIST '|croak| 'CROAK)
(LIST '|digit?| 'DIGITP) (LIST '|drop| 'DROP)
(LIST '|exit| 'EXIT) (LIST '|false| 'NIL)
@@ -220,6 +220,7 @@
(LIST '|property| 'GET) (LIST '|readByte| 'READ-BYTE)
(LIST '|readInteger| 'PARSE-INTEGER)
(LIST '|readLine| 'READ-LINE)
+ (LIST '|readOnly?| 'CONSTANTP)
(LIST '|removeDuplicates| 'REMDUP)
(LIST '|rest| 'CDR) (LIST '|reverse| 'REVERSE)
(LIST '|second| 'CADR)
diff --git a/src/boot/tokens.boot b/src/boot/tokens.boot
index c2b2f120..e5160acd 100644
--- a/src/boot/tokens.boot
+++ b/src/boot/tokens.boot
@@ -239,8 +239,8 @@ for i in [ _
["append", "APPEND"] , _
["apply", "APPLY"] , _
["atom", "ATOM"] , _
+ ["char?", "CHARACTERP"] , _
["cons?", "CONSP"] , _
- ["readOnly?","CONSTANTP"], _
["copy", "COPY"] , _
["croak", "CROAK"] , _
["digit?", "DIGITP"] , _
@@ -269,6 +269,7 @@ for i in [ _
["readByte", "READ-BYTE"], _
["readInteger", "PARSE-INTEGER"], _
["readLine", "READ-LINE"], _
+ ["readOnly?","CONSTANTP"], _
["removeDuplicates", "REMDUP"] , _
["rest", "CDR"] , _
["reverse", "REVERSE"] , _
diff --git a/src/interp/i-output.boot b/src/interp/i-output.boot
index 02dc2d1c..7484e2dd 100644
--- a/src/interp/i-output.boot
+++ b/src/interp/i-output.boot
@@ -441,12 +441,12 @@ atom2String x ==
appChar(string,x,y,d) ==
if CHARP string then string := PNAME string
line:= LASSOC(y,d) =>
- if MAXINDEX string = 1 and char(string.0) = "%" then
- string.1="b" =>
+ if MAXINDEX string = 1 and string.0 = char "%" then
+ string.1 = char "b" =>
bumpDeltaIfTrue:= true
string.0:= EBCDIC 29
string.1:= EBCDIC 200
- string.1="d" =>
+ string.1 = char "d" =>
bumpDeltaIfTrue:= true
string.0:= EBCDIC 29
string.1:= EBCDIC 65
@@ -595,7 +595,7 @@ outputTran x ==
['PAREN,["|",['AGGLST,:l],pred]]
op="tuple" => ['PAREN,['AGGLST,:l]]
op='LISTOF => ['AGGLST,:l]
- IDENTP op and not (op in '(_* _*_*) ) and char("*") = (PNAME op).0 =>
+ IDENTP op and not (op in '(_* _*_*) ) and char "*" = (PNAME op).0 =>
mkSuperSub(op,l)
[outputTran op,:l]
@@ -1027,7 +1027,7 @@ aggregateApp(u,x,y,d,s) ==
outformWidth u == --WIDTH as called from OUTFORM to do a COPY
string? u =>
u = $EmptyString => 0
- u.0="%" and ((u.1 = char 'b) or (u.1 = char 'd)) => 1
+ u.0 = char "%" and ((u.1 = char 'b) or (u.1 = char 'd)) => 1
#u
atom u => # atom2String u
WIDTH COPY u
@@ -1035,7 +1035,7 @@ outformWidth u == --WIDTH as called from OUTFORM to do a COPY
WIDTH u ==
string? u =>
u = $EmptyString => 0
- u.0="%" and ((u.1 = char 'b) or (u.1 = char 'd)) => 1
+ u.0 = char "%" and ((u.1 = char 'b) or (u.1 = char 'd)) => 1
#u
integer? u =>
if (u < 1) then
@@ -1789,7 +1789,7 @@ charyMinus(u,v,start,linelength) ==
'" "
charyBinary(d,u,v,start,linelength) ==
- member(d,'(" := " "= ")) =>
+ member(d,'(" := " " = ")) =>
charybdis(['CONCATB,v.1,d],start,linelength)
charybdis(v.2,start+2,linelength-2)
'" "
diff --git a/src/interp/scan.boot b/src/interp/scan.boot
index 51a84342..f52a4f65 100644
--- a/src/interp/scan.boot
+++ b/src/interp/scan.boot
@@ -516,7 +516,7 @@ scanTransform x==x
--idChar? x== scanLetter x or digit? x or x in '(_? _%)
--scanLetter x==
--- if not CHARP x
+-- if not char? x
-- then false
-- else STRPOSL(scanTrTable,x,0,NIL)