diff options
author | dos-reis <gdr@axiomatics.org> | 2011-01-02 10:09:37 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-01-02 10:09:37 +0000 |
commit | 2b2ae9894f66dba65af62fb08b9d79b2aee2a2a8 (patch) | |
tree | a993fb841dbecc560c217651a8504f23ed526481 /src/interp/g-util.boot | |
parent | b9a4e3cd1880e977a827a98b1cb69175e7ad1e74 (diff) | |
download | open-axiom-2b2ae9894f66dba65af62fb08b9d79b2aee2a2a8.tar.gz |
* interp/nrunfast.boot (evalSlotDomain): Expand to VM forms before
value argument evaluation.
(lazyMatch): Check for %llength too.
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include %2bit
and %2bool.
* interp/g-util.boot: Expand them.
* interp/define.boot (compJoin): Check for %llenght too.
* algebra/boolean.spad.pamphlet: Tidy.
* algebra/domain.spad.pamphlet: Likewise.
* algebra/draw.spad.pamphlet: Likewise.
* algebra/files.spad.pamphlet: Likewise.
* algebra/list.spad.pamphlet: Likewise.
* algebra/outform.spad.pamphlet: Likewise.
* algebra/sex.spad.pamphlet: Likewise.
* algebra/sf.spad.pamphlet: Likewise.
Diffstat (limited to 'src/interp/g-util.boot')
-rw-r--r-- | src/interp/g-util.boot | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/interp/g-util.boot b/src/interp/g-util.boot index e405f304..fb98bc83 100644 --- a/src/interp/g-util.boot +++ b/src/interp/g-util.boot @@ -1,6 +1,6 @@ -- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd. -- All rights reserved. --- Copyright (C) 2007-2010, Gabriel Dos Reis. +-- Copyright (C) 2007-2011, Gabriel Dos Reis. -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -349,6 +349,9 @@ expandFlt ['%flt,x,y] == expandFgt ['%fgt,x,y] == expandFlt ['%flt,y,x] +expandFcstpi ['%fcstpi] == + ['COERCE,'PI,quoteForm '%DoubleFloat] + -- String operations ++ string equality comparison @@ -425,10 +428,12 @@ for x in [ -- ['%false, :'NIL], ['%true, :'T], -- unary Boolean operations - ['%not, :'NOT], + ['%not, :'NOT], + ['%2bit, :'TRUTH_-TO_-BIT], + ['%2bool, :'BIT_-TO_-TRUTH], -- binary Boolean operations - ['%and, :'AND], - ['%or, :'OR], + ['%and, :'AND], + ['%or, :'OR], -- character operations ['%ceq, :'CHAR_=], @@ -572,6 +577,7 @@ for x in [ ['%fminval, :function expandFminval], ['%fneg, :function expandFneg], ['%fprec, :function expandFprec], + ['%fcstpi, :function expandFcstpi], ['%streq, :function expandStreq], ['%strlt, :function expandStrlt], |