hatchmoment. scored by care · not by stars

viva

Viva: a DSL to model and simulate future cash flow streams

Viva lets you describe lives, events, and cash flows in readable English‑like syntax, then generates a Python function that produces Monte‑Carlo projections. It includes a full parser built with Lark, mortality tables, and flow engines that run without external dependencies. The tool is useful for personal finance analysts, planners, and developers needing quick cash‑flow simulations, offering a clearer alternative to ad‑hoc spreadsheets or generic Monte‑Carlo libraries. Its self‑contained design and expressive DSL make it easier to prototype complex financial scenarios.

View on GitHub →

ajmscherer/viva