aboutsummaryrefslogtreecommitdiff
path: root/src/boot/tokens.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-05-26 08:10:59 +0000
committerdos-reis <gdr@axiomatics.org>2010-05-26 08:10:59 +0000
commit8e0498b66e19be7e22039866d695c1cb81707bd6 (patch)
tree162eee1a3365c43d8b35bff9eb7b23b00d6af09c /src/boot/tokens.boot
parent9584120cc4fd35f1ae0639430e07d5936f1ac39b (diff)
downloadopen-axiom-8e0498b66e19be7e22039866d695c1cb81707bd6.tar.gz
* boot/tokens.boot: Automatically translate alphabetic?, digit?,
lowerCase?, upperCase?, readByte, readInteger, readLine, writeByte, writeLine. * interp/as.boot: Use them. * interp/bc-matrix.boot: Likewise. * interp/bc-solve.boot: Likewise. * interp/br-con.boot: Likewise. * interp/br-search.boot: Likewise. * interp/br-util.boot: Likewise. * interp/c-doc.boot: Likewise. * interp/c-util.boot: Likewise. * interp/database.boot: Likewise. * interp/format.boot: Likewise. * interp/fortcall.boot: Likewise. * interp/functor.boot: Likewise. * interp/g-util.boot: Likewise. * interp/guess.boot: Likewise. * interp/ht-root.boot: Likewise. * interp/htcheck.boot: Likewise. * interp/htsetvar.boot: Likewise. * interp/i-map.boot: Likewise. * interp/i-output.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/i-util.boot: Likewise. * interp/int-top.boot: Likewise. * interp/intfile.boot: Likewise. * interp/mark.boot: Likewise. * interp/msgdb.boot: Likewise. * interp/pf2sex.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/pspad2.boot: Likewise. * interp/scan.boot: Likewise. * interp/slam.boot: Likewise. * interp/sys-utility.boot: Likewise. * interp/topics.boot: Likewise. * interp/trace.boot: Likewise. * interp/word.boot: Likewise.
Diffstat (limited to 'src/boot/tokens.boot')
-rw-r--r--src/boot/tokens.boot9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/boot/tokens.boot b/src/boot/tokens.boot
index 74c5e437..0c6e8818 100644
--- a/src/boot/tokens.boot
+++ b/src/boot/tokens.boot
@@ -234,6 +234,7 @@ for i in [ _
repeat SETF (GET(first i,'SHOETHETA),CDR i)
for i in [ _
+ ["alphabetic?", "ALPHA-CHAR-P"], _
["and", "AND"] , _
["append", "APPEND"] , _
["apply", "APPLY"] , _
@@ -241,6 +242,7 @@ for i in [ _
["cons?", "CONSP"] , _
["copy", "COPY"] , _
["croak", "CROAK"] , _
+ ["digit?", "DIGITP"] , _
["drop", "DROP"] , _
["exit", "EXIT"] , _
["false", 'NIL] , _
@@ -253,6 +255,7 @@ for i in [ _
["lastNode", "LAST"] , _
["LAST", "last"] , _
["list", "LIST"] , _
+ ["lowerCase?", "LOWER-CASE-P"], _
["mkpf", "MKPF"] , _
["nconc", "NCONC"] , _
["nil" ,NIL ] , _
@@ -261,6 +264,9 @@ for i in [ _
["null", "NULL"] , _
["or", "OR"] , _
["otherwise", "T"] , _
+ ["readByte", "READ-BYTE"], _
+ ["readInteger", "PARSE-INTEGER"], _
+ ["readLine", "READ-LINE"], _
["removeDuplicates", "REMDUP"] , _
["rest", "CDR"] , _
["reverse", "REVERSE"] , _
@@ -276,6 +282,9 @@ for i in [ _
["take", "TAKE"] ,
["third", "CADDR"] , _
["true", "T"] , _
+ ["upperCase?", "UPPER-CASE-P"], _
+ ["writeByte", "WRITE-BYTE"], _
+ ["writeLine", "WRITE-LINE"], _
["PLUS", "+"] , _
["MINUS", "-"] , _
["TIMES", "*"] , _