Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.86 KB

File metadata and controls

34 lines (19 loc) · 1.86 KB
title Domain Recipes
summary Learn CalcMark through real-world scenarios — system sizing, budgets, recipes, and unit conversion.

These tutorials teach CalcMark through real-world scenarios. Each one walks through a domain-specific problem, introduces the relevant language features along the way, and ends with a complete worked example.

New to CalcMark? Start with Getting Started for installation and core concepts, then come back here.

Want to try without installing? Open the {{< lark "" "CalcMark Lark playground" >}} in your browser and paste any example.

Model server fleets, bandwidth requirements, storage capacity, and SLA budgets. Uses rates, at...per capacity syntax, and napkin math.

Build P&L statements, budgets, and financial projections. Uses currency arithmetic, number() for ratios, sum of, and template interpolation.

Transition from calculator thinking to idiomatic CalcMark — sum of, percentage operators, rates with over, and growth functions like compound and depreciate.

Learn how CalcMark handles quantities, unit conversions, fractions, and napkin math — and how each affects your data in the editor and JSON output.

Scale recipes with fractions, measurement conventions (US vs Imperial), and the scale directive. Uses measurement: frontmatter for UK/US unit handling.

Convert between unit systems, handle ambiguous units (US gallon vs Imperial gallon, standard ounce vs troy ounce), and use inline qualifiers.