aboutsummaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-07-18 19:02:13 +0000
committerdos-reis <gdr@axiomatics.org>2010-07-18 19:02:13 +0000
commit08966a5a24823ba5605d9baacebbbb95632842e2 (patch)
tree65192cbb6291cddd41f22128e7c8b87754f81b4c /src/boot
parent3467029153bc8d2115fb961eb5e4e995d62034f0 (diff)
downloadopen-axiom-08966a5a24823ba5605d9baacebbbb95632842e2.tar.gz
* boot/tokens.boot: Add char? as builtin function.
* interp/i-output.boot (appChar): Fix thinko. (outformWidth): Likewise. (WIDTH): Likewise.
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/strap/tokens.clisp3
-rw-r--r--src/boot/tokens.boot3
2 files changed, 4 insertions, 2 deletions
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"] , _