Contributing

Calor is an experiment in language design for AI agents. We welcome contributions from the community.


Ways to Contribute

AreaDescriptionSkill Level
Benchmark ProgramsAdd new Calor/C# program pairsBeginner
DocumentationImprove docs, add examplesBeginner
Bug ReportsReport compiler issuesBeginner
Metric RefinementsImprove evaluation metricsIntermediate
Parser ImprovementsFix or extend Calor parsingIntermediate
Code GenerationImprove C# output qualityAdvanced
New FeaturesAdd language featuresAdvanced

Getting Started

  1. Fork the repository on GitHub
  2. Clone your fork locally
  3. Set up the development environment (see Development Setup)
  4. Make your changes on a feature branch
  5. Run tests to ensure nothing is broken
  6. Submit a pull request

Contribution Guidelines

Code Style

  • Follow existing code patterns
  • Use meaningful names
  • Add comments for complex logic
  • Keep functions focused

Commits

  • Write clear commit messages
  • One logical change per commit
  • Reference issues when applicable

Pull Requests

  • Describe what the PR does
  • Include test coverage for new features
  • Update documentation if needed

Priority Areas

We're especially interested in contributions to:

1. Benchmark Corpus

The evaluation framework needs more programs:

  • Different problem domains
  • Varying complexity levels
  • Edge cases for metrics

See Adding Benchmarks.

2. Documentation

  • More code examples
  • Tutorial content
  • API documentation

3. Parser Edge Cases

The Calor parser needs testing with:

  • Complex nested structures
  • Edge case syntax
  • Error recovery scenarios


Questions?

Open an issue on GitHub if you have questions about contributing.