Rule sets / Calculator
rule set
Rulealize.RuleSet.Calculator
A scientific calculator: brackets, powers, sin, cos and tan in degrees or radians, logarithms, and the keys laid out as one. A Rulealize rule set.
What 1.0.0 is made of
this documentCalculator1.0.0
requires — this document's own
typeRulealize.Plugin.TypeSchema^1.3stateRulealize.Plugin.State^1.0gridRulealize.Plugin.Grid^1.0seqRulealize.Plugin.Sequence^1.5recRulealize.Plugin.Record^1.0cmpRulealize.Plugin.Comparison^1.0logicRulealize.Plugin.Logic^1.0mathRulealize.Plugin.Arithmetic^1.2branchRulealize.Plugin.Branch^1.0bindRulealize.Plugin.Binding^1.0defRulealize.Plugin.Definition^1.0Hold it
A document that holds this one writes, in its uses:
"uses": [
{ "ruleSet": "Rulealize.RuleSet.Calculator",
"version": "^1.0", "as": "calculator" }
]as is not optional here. The identifier is the package identifier, so nothing has to look it up; as is the short name the holding document calls it by, and it is what qualifies this rule set's inputs inside that one. An alias defaults to the identifier and may not contain a ., so leaving it out is refused with a message about a key you did not write.
Inputs a composite could constrain
| Input | Comes from |
|---|---|
press | this document |
Releases
1.0.0latestrequires
Rulealize.Plugin.TypeSchema ^1.3Rulealize.Plugin.State ^1.0Rulealize.Plugin.Grid ^1.0Rulealize.Plugin.Sequence ^1.5Rulealize.Plugin.Record ^1.0Rulealize.Plugin.Comparison ^1.0Rulealize.Plugin.Logic ^1.0Rulealize.Plugin.Arithmetic ^1.2Rulealize.Plugin.Branch ^1.0Rulealize.Plugin.Binding ^1.0Rulealize.Plugin.Definition ^1.0
inputs
press