Skip to content

feat: add interval literal syntax - #55

Merged
Seddryck merged 2 commits into
mainfrom
feat/interval-literal-syntax
Aug 16, 2026
Merged

feat: add interval literal syntax#55
Seddryck merged 2 commits into
mainfrom
feat/interval-literal-syntax

Conversation

@Seddryck

Copy link
Copy Markdown
Owner

Summary

  • add first-class bounded interval literals with mathematical and reversed-square-bracket notation
  • support infinite bounds and normalize the four existing sign-oriented shorthands
  • expose normalized interval bounds and inclusivity through the C# syntax model
  • add grammar corpus coverage and managed binding tests, including canonical temporal bounds and rejection of bare date-looking bounds

Validation

  • Tree-sitter interval corpus: 5/5 passing against the generated parser
  • dotnet test on net8.0: 78 passing
  • dotnet test on net9.0: 78 passing
  • dotnet test on net10.0: 78 passing
  • git diff --check

Close #51

@coderabbitai

coderabbitai Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Important

Review available on request

  • 🔍 Trigger review

Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment @coderabbitai review to review the latest changes. For a full review, comment @coderabbitai full review.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: eb33a2e5-0237-4ea0-8f7d-f14ad2a3a1a1


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Seddryck
Seddryck marked this pull request as ready for review August 16, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add interval literal syntax

1 participant