Back to all updates
Enhancement

Inline Comments in DSL Code

Document your financial logic directly in model code with support for inline comments.

Make your models self-documenting with native support for inline comments in the CostVela DSL.

What's New

You can now add comments directly in your model code:

revenue: MonthlyRevenue * 12  // Annual revenue calculation

cogs: revenue * 0.3  // Cost of goods sold at 30% margin

// Operating expenses breakdown
salaries: EmployeeCount * AverageSalary
rent: 5000  // Fixed monthly rent
marketing: revenue * 0.15  // Marketing spend at 15% of revenue

Why This Matters

  • Knowledge Transfer: New team members can understand complex models faster
  • Maintenance: Future changes are easier when logic is documented
  • Compliance: Audit trails for financial assumptions and business rules
  • Collaboration: Better communication between finance and engineering teams

Comments are preserved throughout your model and can be viewed anytime in the model code inspector.

Ready to try CostVela?

Start building interactive financial models today with $25 in free credits.

Get Started