How 4silvertooth/qwiktape works
QwikTape is a Sciter desktop calculator/notebook for annotated calculation tapes. A user edits a tape in the editor; the editor lexes, parses, evaluates, formats, and highlights expressions, then emits updates for autosave. Tapes are persisted and can be revisited through tabs or the storage browser. Settings control locale, precision, indentation, colors, and keyboard behavior. The editor can also render the evaluated tape as PDF. The sampled source confirms these core boundaries; some event-handling orchestration in main.htm was not sampled.
Main entry points: editor.js Tape Editor · storage.js Tape State · main.htm Application Entry · pdf.js PDF Export
Components 15
Desktop Shell
- Native Shell
main/qwiktape.cpp - Application Entry
src/main.htm
Tape Workspace
- Tape Tabs
src/components/tabs.js - Tape Editor
src/components/editor.js - Tape Browser
src/components/browse-storage.js - Settings Form
src/components/settings.js
Calculation Engine
- Tape Parser
src/parser/tape-embedded.js - Big Number Engine
src/parser/bignum.js - Locale Formatting
src/parser/bignum.js
Persistence And Export
- Tape State
src/storage/storage.js - Tape Database
src/storage/storage.js - Seed Tapes
src/storage/seeds.js - PDF Export
src/util/pdf.js
Other components
- User
- PDF Library
Connections 19
- User → Native Shell: launches
- Native Shell → Application Entry: loads
- User → Tape Editor: edits tape
- Application Entry → Tape Tabs: mounts
- Application Entry → Tape Editor: mounts
- Application Entry → Tape Browser: mounts
- Application Entry → Settings Form: mounts
- Tape Editor → Tape Parser: parses tape
- Tape Parser → Big Number Engine: evaluates values
- Tape Editor → Locale Formatting: formats tokens
- Tape Editor → Tape State: emits updates
- Tape State → Tape Database: commits tapes
- Tape State → Seed Tapes: loads seeds
- Tape Browser → Tape State: manages tapes
- Tape Tabs → Tape State: selects tapes
- Settings Form → Tape State: saves settings
- User → PDF Export: requests export
- Tape Editor → PDF Export: renders tape
- PDF Export → PDF Library: uses library