aboutsummaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-06-20 06:39:48 +0000
committerdos-reis <gdr@axiomatics.org>2010-06-20 06:39:48 +0000
commit4ee9e8c9ec410567f7904da3e3be59c06f059a6c (patch)
treefe584e64470a08b420ca4654b42c5c725fc489d7 /src/boot
parente61f5a0fa4656dd256ad664528e9a6355638bd41 (diff)
downloadopen-axiom-4ee9e8c9ec410567f7904da3e3be59c06f059a6c.tar.gz
* boot/tokens.boot (readOnly?): New builtin Boot function.
* interp/c-util.boot (isLispSpecialVariable): Tidy. (transformToBackendCode): Likewise.
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/strap/tokens.clisp17
-rw-r--r--src/boot/tokens.boot1
2 files changed, 10 insertions, 8 deletions
diff --git a/src/boot/strap/tokens.clisp b/src/boot/strap/tokens.clisp
index 5549b7eb..190955b9 100644
--- a/src/boot/strap/tokens.clisp
+++ b/src/boot/strap/tokens.clisp
@@ -203,14 +203,15 @@
(LIST (LIST '|alphabetic?| 'ALPHA-CHAR-P)
(LIST '|and| 'AND) (LIST '|append| 'APPEND)
(LIST '|apply| 'APPLY) (LIST '|atom| 'ATOM)
- (LIST '|cons?| 'CONSP) (LIST '|copy| 'COPY)
- (LIST '|croak| 'CROAK) (LIST '|digit?| 'DIGITP)
- (LIST '|drop| 'DROP) (LIST '|exit| 'EXIT)
- (LIST '|false| 'NIL) (LIST '|first| 'CAR)
- (LIST '|fourth| 'CADDDR) (LIST '|function| 'FUNCTION)
- (LIST '|gensym| 'GENSYM) (LIST '|genvar| 'GENVAR)
- (LIST '|integer?| 'INTEGERP) (LIST '|lastNode| 'LAST)
- (LIST 'LAST '|last|) (LIST '|list| 'LIST)
+ (LIST '|cons?| 'CONSP) (LIST '|readOnly?| 'CONSTANTP)
+ (LIST '|copy| 'COPY) (LIST '|croak| 'CROAK)
+ (LIST '|digit?| 'DIGITP) (LIST '|drop| 'DROP)
+ (LIST '|exit| 'EXIT) (LIST '|false| 'NIL)
+ (LIST '|first| 'CAR) (LIST '|fourth| 'CADDDR)
+ (LIST '|function| 'FUNCTION) (LIST '|gensym| 'GENSYM)
+ (LIST '|genvar| 'GENVAR) (LIST '|integer?| 'INTEGERP)
+ (LIST '|lastNode| 'LAST) (LIST 'LAST '|last|)
+ (LIST '|list| 'LIST)
(LIST '|lowerCase?| 'LOWER-CASE-P)
(LIST '|mkpf| 'MKPF) (LIST '|nconc| 'NCONC)
(LIST '|nil| NIL) (LIST '|not| 'NOT)
diff --git a/src/boot/tokens.boot b/src/boot/tokens.boot
index 19b00439..8001250a 100644
--- a/src/boot/tokens.boot
+++ b/src/boot/tokens.boot
@@ -240,6 +240,7 @@ for i in [ _
["apply", "APPLY"] , _
["atom", "ATOM"] , _
["cons?", "CONSP"] , _
+ ["readOnly?","CONSTANTP"], _
["copy", "COPY"] , _
["croak", "CROAK"] , _
["digit?", "DIGITP"] , _