fireworks.js
fireworks.js copied to clipboard
Conditions by effect
- list of condition listed in arrays and/or
- make fireworks.condition
- .satisfied
Find a good api... Important
If.age('gt', 1.2).isIn(shape)
Or something like that
How to handle and/or ? And parantheses
jetienne: somebody remember the and/or in array ? [10:20am] jetienne: how to encode conditions and/or and the parentheses [10:20am] jetienne: i remember some kind of coding in array and nested array. [10:20am] jetienne: does this ring a bell [10:21am] bai: like a lisp-style thing where you represent each operation as a command? [10:23am] jetienne: bai: hmmm i dunno [10:23am] jetienne: it is somehitng like [10:23am] jetienne: [cond1, cond2, [cond3, cond4]] [10:23am] jetienne: is the same as [10:23am] jetienne: (cond1 and cond2 and (cond3 or cond4))