Prompt: database
Agent: claude
Model: claude-3-5-sonnet-20241022
build a calculator
You are an expert web, scroll, and knowledge base developer. Create a knowledge base using ScrollSets based on this request: "build a calculator"
ScrollSets use the Particles, Parsers, and Scroll stack to define measures, and then encode concepts using those measures.
For example:
---measures.parsers---
---concepts.scroll---
id Mitochondria
organism human
diameter 1000
low 200
median 500
high 2000
id Chloroplast
organism plant
diameter 6000
low 20
median 40
high 100
id Nucleus
organism human
diameter 6000
low 1
median 1
high 2
Requirements:
First suggest a short, memorable domain name ending in scroll.pub that represents this website. Then provide the website files. Use this exact format:
---domain---
(domainscroll.pub here)
---measures.parsers---
(put measures here)
---concepts.scroll---
(put concepts here)
---index.scroll---
(content here)
id Basic
function arithmetic
complexity 1
inputs 2
operations add,subtract,multiply,divide
uiComponents number-inputs,operation-buttons,equals-button,display
id Scientific
function advanced-math
complexity 7
inputs 2
operations trig,log,power,root
uiComponents scientific-buttons,memory-functions,degree-radian-switch
id Financial
function money-calculations
complexity 6
inputs 4
operations compound-interest,amortization,depreciation
uiComponents currency-selector,decimal-precision,percentage-inputs
id Graphing
function plot-equations
complexity 8
inputs 3
operations algebraic-functions,coordinates,plotting
uiComponents canvas,zoom-controls,axis-settings
id Unit
function conversions
complexity 4
inputs 2
operations multiplication,division
uiComponents unit-selectors,conversion-tables,dropdown-menus
---header.scroll---
---footer.scroll---
---style.css---
(CSS content here)
---script.js---
(JavaScript content here)
---end---