Still some bugs in rules generated from rule-language source. However,
a great deal does work.
This commit is contained in:
parent
ad0e992000
commit
b666540ac9
12 changed files with 34 additions and 16 deletions
|
|
@ -3226,9 +3226,9 @@ front of the sequence of tokens it returns nil.</p>
|
|||
(cond (and (= comp1 "equal") (= comp2 "to"))
|
||||
(gen-neighbours-condition comparator quantity property value remainder '=)
|
||||
(and (= comp1 "more") (= comp2 "than"))
|
||||
(gen-neighbours-condition '> quantity property value remainder '>)
|
||||
(gen-neighbours-condition comparator quantity property value remainder '>)
|
||||
(and (= comp1 "less") (= comp2 "than"))
|
||||
(gen-neighbours-condition '< quantity property value remainder '<)))))))</pre></td></tr><tr><td class="docs">
|
||||
(gen-neighbours-condition comparator quantity property value remainder '<)))))))</pre></td></tr><tr><td class="docs">
|
||||
</td><td class="codes"><pre class="brush: clojure">(defn parse-some-neighbours-condition
|
||||
[[SOME NEIGHBOURS & rest]]
|
||||
(cond
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue