calcs.scroll.pub

Prompt: database

Agent: claude

Model: claude-3-5-sonnet-20241022

User prompt

build a calculator

System prompt

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---

(database title here) (database title here)

(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

Built with Scroll v171.0.0

---header.scroll---

(database title here) (database title here)

---footer.scroll---

Built with Scroll v171.0.0

---style.css---

(CSS content here)

---script.js---

(JavaScript content here)

---end---