diff options
author | dos-reis <gdr@axiomatics.org> | 2010-07-13 05:51:57 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-07-13 05:51:57 +0000 |
commit | 82c5eafa04137f6c660d8b4d3f8512587d4fef9c (patch) | |
tree | 40354e8cd58a7d871d52c14c953cd24c35feb383 /src/interp | |
parent | e5f701265114472fd307faff46539a5c619faf2a (diff) | |
download | open-axiom-82c5eafa04137f6c660d8b4d3f8512587d4fef9c.tar.gz |
* interp/g-opt.boot: %sname is a side-effect free operator.
* interp/g-util.boot: Expand it.
* algebra/syntax.spad.pamphlet (Identifer): Now satisfies
CoercibleTo String.
Diffstat (limited to 'src/interp')
-rw-r--r-- | src/interp/g-opt.boot | 2 | ||||
-rw-r--r-- | src/interp/g-util.boot | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot index a11855ff..47c5ce92 100644 --- a/src/interp/g-opt.boot +++ b/src/interp/g-opt.boot @@ -478,7 +478,7 @@ $VMsideEffectFreeOperators == %fpow %fdiv %fneg %i2f %fminval %fmaxval %fbase %fprec %ftrunc %nil %pair? %lconcat %llength %lfirst %lsecond %lthird %lreverse %lempty? %hash %ismall? %string? %f2s - %ceq %clt %cle %cgt %cge %c2i %i2c + %ceq %clt %cle %cgt %cge %c2i %i2c %sname %vref %vlength %before?) ++ List of simple VM operators diff --git a/src/interp/g-util.boot b/src/interp/g-util.boot index cf7da6ce..c2463dc5 100644 --- a/src/interp/g-util.boot +++ b/src/interp/g-util.boot @@ -382,6 +382,7 @@ for x in [ -- symbol unary functions ['%gensym, :'GENSYM], + ['%sname, :'SYMBOL_-NAME], -- string unary functions ['%string?, :'STRINGP], |