Picolab / pico-engine

An implementation of the pico-engine hosted on node.js
http://picolabs.io/
MIT License
42 stars 7 forks source link

Command abstractions #7

Open windley opened 8 years ago

windley commented 8 years ago

KRL has no way to create abstractions of commands in the postlude.

A defcommand would parallel defaction and function. By abstracting commands we'd avoid writing rules and using chaining to do this.

Maybe we don't need this? Is rule abstraction sufficient?

0joshuaolson1 commented 7 years ago

Would a command represent just a postlude, or be able to call defactions like rules? The second case is basically a rule without a select, foreach, and ruleset position of its own.