aboutsummaryrefslogtreecommitdiff
path: root/src/interp/g-opt.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-02-18 03:51:28 +0000
committerdos-reis <gdr@axiomatics.org>2011-02-18 03:51:28 +0000
commitf6e5de243353518085fbd39be9daef1f121a96e3 (patch)
tree0540e540bb30845fccfc795c3f41807d4cd52088 /src/interp/g-opt.boot
parent3691e956e1428f08363a0ed37e3f4f0f79b89ec0 (diff)
downloadopen-axiom-f6e5de243353518085fbd39be9daef1f121a96e3.tar.gz
Rename %veclit to %vector and %listlit to %list
Diffstat (limited to 'src/interp/g-opt.boot')
-rw-r--r--src/interp/g-opt.boot26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot
index d18899dc..2286be5b 100644
--- a/src/interp/g-opt.boot
+++ b/src/interp/g-opt.boot
@@ -292,9 +292,9 @@ compileTimeBindingOf u ==
name
optMkRecord ["mkRecord",:u] ==
- u is [x] => ['%listlit,x]
- #u=2 => ['%makepair,:u]
- ['%veclit,:u]
+ u is [x] => ['%list,x]
+ #u=2 => ['%pair,:u]
+ ['%vector,:u]
optCond (x is ['%when,:l]) ==
if l is [a,[aa,b]] and aa = '%otherwise and b is ['%when,:c] then
@@ -421,8 +421,8 @@ optSETRECORDELT ["SETRECORDELT",name,ind,len,expr] ==
['%store,['%vref,name,ind],expr]
optRECORDCOPY ["RECORDCOPY",name,len] ==
- len = 1 => ['%listlit,['%head,name]]
- len = 2 => ['%makepair,['%head,name],['%tail,name]]
+ len = 1 => ['%list,['%head,name]]
+ len = 2 => ['%pair,['%head,name],['%tail,name]]
["REPLACE",["MAKE_-VEC",len],name]
optSuchthat [.,:u] == ["SUCHTHAT",:u]
@@ -446,11 +446,11 @@ $VMsideEffectFreeOperators ==
%val2z %z2val %zlit %zreal %zimag
%zexp %zlog %zsin %zcos %ztan %zasin %zacos %zatan
%zsinh %zcosh %ztanh %zasinh %zacosh %zatanh
- %nil %pair? %lconcat %llength %lfirst %lsecond %lthird %listlit
+ %nil %pair? %lconcat %llength %lfirst %lsecond %lthird
%lreverse %lempty? %hash %ismall? %string? %f2s
%ccst %ceq %clt %cle %cgt %cge %c2i %i2c %s2c %cup %cdown %sname
- %strlength %streq %i2s %schar %strlt %strconc %strcopy %strstc
- %aref %vref %vlength %veclit
+ %strlength %streq %i2s %schar %strlt %strconc %strcopy
+ %aref %vref %vlength
%bitvecnot %bitvecand %bitvecnand %bivecor %bitvecnor %bitvecxor
%bitveccopy %bitvecconc %bitveclength %bitvecref %bitveceq %bitveclt
%before? %equal %sptreq %ident? %property)
@@ -458,8 +458,8 @@ $VMsideEffectFreeOperators ==
++ List of simple VM operators
$simpleVMoperators ==
append($VMsideEffectFreeOperators,
- ['STRINGIMAGE,'FUNCALL,'%gensym, '%lreverse_!,
- '%strstc,'%makepair,'%makebitvec,'%makevector,
+ ['STRINGIMAGE,'FUNCALL,'%gensym, '%lreverse_!,'%pair,'%list,
+ '%strstc,'%makebitvec,'%makevector,'%vector,
"MAKE-FULL-CVEC","BVEC-MAKE-FULL"])
++ Return true if the `form' is semi-simple with respect to
@@ -629,8 +629,8 @@ optTry form ==
form isnt ['%try,e,hs,f] or not(isFloatableVMForm e) or f ~= nil => form
e
-optListlit form ==
- form is ['%listlit] => '%nil
+optList form ==
+ form is ['%list] => '%nil
form
optCollectVector form ==
@@ -817,7 +817,7 @@ for x in '( (%call optCall) _
(%imul optImul)_
(%2bit opt2bit)_
(%2bool opt2bool)_
- (%listlit optListlit)_
+ (%list optList)_
(SPADCALL optSPADCALL)_
(_| optSuchthat)_
(CATCH optCatch)_