aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-05-11 12:21:28 +0000
committerdos-reis <gdr@axiomatics.org>2009-05-11 12:21:28 +0000
commit9be496672521ccbeb6bef0cebb563c6124fc84ca (patch)
tree8a13ce0a685493de7e7536e30271bee7648649dd /src/interp
parentd3eeff8c0c553fd276f475590b2967bf388bdbed (diff)
downloadopen-axiom-9be496672521ccbeb6bef0cebb563c6124fc84ca.tar.gz
* interp/property.lisp: "not" is prefix operator with "not " for
rendering. * interp/i-output.boot ($allClassicOps): Include not. * algebra/boolean.spad.pamphlet (PropositionalFormula): Rework.
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/i-output.boot4
-rw-r--r--src/interp/property.lisp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/i-output.boot b/src/interp/i-output.boot
index 41dacca2..ca24779d 100644
--- a/src/interp/i-output.boot
+++ b/src/interp/i-output.boot
@@ -2592,10 +2592,10 @@ maPrin u ==
--% Rendering of InputForm
$allClassicOps ==
- ["~","#","**","^","*","/","rem","quo","+","-","@","::", "pretend"]
+ ["~","#","not","**","^","*","/","rem","quo","+","-","@","::", "pretend"]
isUnaryPrefix op ==
- op in '(_~ _# _-)
+ op in '(_~ _# _- _not)
primaryForm2String x ==
x = nil => '""
diff --git a/src/interp/property.lisp b/src/interp/property.lisp
index 62e93bf3..1a8a2323 100644
--- a/src/interp/property.lisp
+++ b/src/interp/property.lisp
@@ -112,7 +112,7 @@
(REPEAT (IN X '(
(= "=")
(|:| ":")
- (|not| "^ ")
+ (|not| "not ")
(\| " \| ")
(SEGMENT "..") ;" 0.. is represented by (SEGMENT 0)"
)) (MAKEPROP (CAR X) 'PREFIXOP (CADR X)))