Gallery / Views / reny-develop/calculator-view
Reads
It does not say: it reads the names its bindings give, so it fits rules that have those names.
Use it
A link or a paneset names it in v. Rules that keep what it reads under other names are matched to it by b:
{ "$schema": "rulpane/paneset/v1", "r": "<rules>", "v": "reny-develop/calculator-view@1", "b": { … } }Fits as it is
The rule sets that have every name it reads, which it opens with no b: Rulealize.RuleSet.Calculator@1.0.0.
Releases
| Release | Read from | |
|---|---|---|
| reny-develop/calculator-view@1 | views/calculator.json @ db1640a | Open |
The document
As its author committed it.
{
"$schema": "rulealize/view/v1",
"ruleSet": "Rulealize.RuleSet.Calculator@1",
"title": "Scientific calculator",
"layout": [
{
"c": "board",
"as": "keys",
"bind": "$keys",
"play": "press.at",
"display": {
"bind": "display",
"format": {},
"above": "pending"
},
"tones": {
"DEG": "neutral",
"RAD": "neutral",
"sin": "neutral",
"cos": "neutral",
"tan": "neutral",
"π": "neutral",
"ln": "neutral",
"log": "neutral",
"eˣ": "neutral",
"10ˣ": "neutral",
"e": "neutral",
"x²": "neutral",
"√": "neutral",
"xʸ": "neutral",
"1/x": "neutral",
"n!": "neutral",
"(": "neutral",
")": "neutral",
"±": "neutral",
"%": "neutral",
"|x|": "neutral",
"EXP": "neutral",
"Ans": "neutral",
"×": "accent",
"÷": "accent",
"+": "accent",
"−": "accent",
"=": "accent",
"⌫": "danger",
"C": "danger"
}
}
],
"names": {
"inputs": {
"press": "Press"
},
"params": {
"at": "Key"
},
"values": {
"0,0": "DEG/RAD",
"1,0": "sin",
"2,0": "cos",
"3,0": "tan",
"4,0": "π",
"0,1": "ln",
"1,1": "log",
"2,1": "eˣ",
"3,1": "10ˣ",
"4,1": "e",
"0,2": "x²",
"1,2": "√",
"2,2": "xʸ",
"3,2": "1/x",
"4,2": "n!",
"0,3": "(",
"1,3": ")",
"2,3": "±",
"3,3": "%",
"4,3": "|x|",
"0,4": "7",
"1,4": "8",
"2,4": "9",
"3,4": "⌫",
"4,4": "C",
"0,5": "4",
"1,5": "5",
"2,5": "6",
"3,5": "×",
"4,5": "÷",
"0,6": "1",
"1,6": "2",
"2,6": "3",
"3,6": "+",
"4,6": "−",
"0,7": "0",
"1,7": ".",
"2,7": "EXP",
"3,7": "Ans",
"4,7": "=",
"error": "Error"
}
}
}Its sample
The paneset samples/calculator.json, which it was tried in.
{
"$schema": "rulpane/paneset/v1",
"r": "Rulealize.RuleSet.Calculator@1.0.0"
}Licence (MIT-0)
MIT No Attribution Copyright 2026 reny-develop Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
