git @ Cat's Eye Technologies Samovar / 04c71e7
This is actually pretty important and we should implement it. Chris Pressey 6 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4747
4848 [Hoare logic]: https://en.wikipedia.org/wiki/Hoare_logic
4949
50 ### TODO
51
52 * Implement a simple equality rule, `eq(?X,?X)`, as a built-in.
53 This is basically necessary to stop characters from talking to
54 themselves, nodding to themselves, ET CETERA.
55
5056 ### TODO for v0.3
5157
5258 * Consider what it would take to add a predicate that evaluates to whether
5359 a given action has been taken previously or not.
5460 * Consider macros.
55 * Consider a simple equality rule, `eq(?X,?X)` but built-in.
5661 * Consider a "wildcard" variable that will match anything *without* binding it.
5762 * Consider making "wildcard" work such that you can say `¬holding(?_, club)`
5863 to mean "if no one is holding the club".