aRustyDev / aRustyDev/ccgram

Implement grammar parser

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
data infra
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Summary
Implement a parser that extracts structured fields from conventional commit messages.

## Success Criteria
- [ ] Parser extracts: type, scope (optional), breaking indicator, subject
- [ ] Parser handles body and footer sections
- [ ] Parser identifies BREAKING CHANGE footers
- [ ] Error handling for malformed commits
- [ ] Test suite with edge cases
- [ ] Performance: parse 1000 commits/second minimum

## Grammar Reference
\`\`\`
[optional scope][!]:

[optional body]

[optional footer(s)]
\`\`\`

## Edge Cases to Handle
- Missing colon after type
- Multiple scopes (non-standard)
- Multiline subjects
- Commits that look conventional but aren't

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.