Examples
Explore complete CalcMark files that demonstrate real-world use cases. Each example page has a Larky icon you can click to copy the cm remote command — paste it into your terminal to open the file directly.
Real-World Use Cases #
- Markdown Showcase – Headings, lists, quotes, links, tables, and live calculations
- Household Budget – Monthly budget with rates, conversions, and napkin math
- Job Offer Comparison – Comparing compensation packages
- Project Workback – Sprint planning with dates and durations
- Recipe Scaling – Unit conversions and proportional scaling
- System Sizing – Infrastructure capacity planning
- Datacenter Build Cost – Full lifecycle cost analysis with growth, depreciation, and exchange rates
- Investment & Growth – Compound growth, depreciation, and linear growth for financial modeling
- Home Renovation – Averages, square roots, constants, booleans, and rate conversions
- Services P&L – Post-sales consulting P&L with percentage widening, globals, and scenario analysis
Feature Reference #
These examples are drawn from the project’s golden test suite and demonstrate every language feature:
- Functions & Natural Language – All function call styles
- Network & Storage – Latency, throughput, read/seek, compression
- Rates & Capacity Planning – Rate expressions,
over,at...per - Napkin Math – Quick estimation with
as napkin - Dates & Durations – Date keywords, literals, arithmetic
Markdown Showcase
A complete markdown document with headings, lists, quotes, links, tables, and live calculations.
Functions & Natural Language
All function call styles: traditional, natural language, nested, and mixed.
Household Budget
Monthly budget with income, taxes, expenses, savings goals, and the 50/30/20 rule.
Job Offer Comparison
Compare two job offers with salary, equity, bonuses, and risk-adjusted analysis.
Network & Storage
Latency, throughput, transfer time, read/seek, and compression functions.
Rates & Capacity Planning
Rate expressions, accumulation with 'over', rate conversion, and capacity planning with 'at...per'.
Recipe Scaling
Double a banana bread recipe and convert imperial to metric — with two lines of frontmatter.
Napkin Math
Quick estimation with human-readable rounding using 'as napkin'.
Project Workback
Work backwards from a launch date with date arithmetic, sprint planning, and cost estimates.
Dates & Durations
Date keywords, literals, arithmetic, and duration calculations.
System Sizing
Back-of-napkin infrastructure estimation for a 10M user app with storage, bandwidth, and capacity planning.
Datacenter Build Cost
Full lifecycle cost analysis: CapEx, OpEx, depreciation, growth, and build-vs-colo comparison.
Investment & Growth
Compound growth, depreciation, and linear growth for financial and business modeling.
Home Renovation
Kitchen remodel and patio budget using averages, square roots, constants, booleans, and rate conversions.
Services P&L
Post-sales consulting P&L model: headcount, utilization, engagement mix, scenarios, and board narratives.