precept icon indicating copy to clipboard operation
precept copied to clipboard

A declarative programming framework

Results 38 precept issues
Sort by recently updated
recently updated
newest added

We want to keep other attributes in our namespace (`sub`, `error`) so just write a condition that removes those that resolve to `precept.spec.rulegen`.

enhancement

Would be good to have listeners on or custom functions for `then`, `insert!`, `insert-unconditional!`, `retract!` At least four potential use cases: 1. Integrate in a parallel eav store (i.e. Datascript)...

We would like to incorporate the same behavior Datomic uses for attributes with the schema attribute `:db/isComponent` as described [here](http://docs.datomic.com/schema.html). Further consideration may require or convince us to deviate from...

feature
schema

The following rule should insert a fact about an enemy threatening a friendly **whenever an enemy unit is within "range" of a friendly one**: ```clj [[?enemy :unit/enemy ?enemy-loc]] [[?friendly :unit/friendly...

From the README: > Working with a rules means we know what changes from one state to the next. Given that, we don't need React and its diff algorithm. It...

feature

The hash-map we receive from `activation-group-fn` includes the following meta-information. ```clj {:ns-name libx.perf-tuple :lhs [{:type :add-todo-action :constraints [] :fact-binding :?action}] :rhs (do (println Action cleanup) (retract! ?action)) :props {:group :cleanup...

Continuation of #41 and the Clara issue mentioned therein. Not sure the priority of this feature at present. Opening simply to track.

feature

From a draft of the README: > Rules should be easily pluggable. We should be able to use general purpose rulesets the same way we use libraries. E.g. drag and...

feature

Forget why we don't have this already. Could implement the same way Datomic does, i.e. automatically assign `(util/guid)` to any fact inserted with a negative int and allow references with...

enhancement
feature

We've had a difficult time getting testing set up nicely in CLJS. Just opening this as an issue for now because it's an important one and should be tracked. We...

test