Add Yearwheel grammar and tests for Langium#7459
Add Yearwheel grammar and tests for Langium#7459Shahir-47 wants to merge 2 commits intomermaid-js:developfrom
Conversation
|
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@mermaid-js/examples
mermaid
@mermaid-js/layout-elk
@mermaid-js/layout-tidy-tree
@mermaid-js/mermaid-zenuml
@mermaid-js/parser
@mermaid-js/tiny
commit: |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #7459 +/- ##
==========================================
- Coverage 3.53% 3.53% -0.01%
==========================================
Files 490 494 +4
Lines 48968 49022 +54
Branches 766 769 +3
==========================================
+ Hits 1733 1734 +1
- Misses 47235 47288 +53
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
|
Happy to see that you picked this up! Please tell me when there is something to test, and I will try to help out! |
Currently, I have just defined the grammar and parsing for this new diagram. I want the maintainers to confirm if the grammar and parsing is acceptable before I move on to the rendering step. |
📑 Summary
Defines grammar and parser support for the new
yearwheeldiagram requested in #7421.This PR adds:
yearwheellanguage in the parser (module,index, token builder)parse('yearwheel', ...)worksyearwheelbaseDate noworbaseDate YYYY-MM-DDID("label", "cron")title,accTitle,accDescrThis PR is only for grammar/parsing (no rendering changes yet).
Part of #7421
📏 Design Decisions
📋 Tasks
Make sure you
MERMAID_RELEASE_VERSIONis used for all new features.pnpm changesetand following the prompts. Changesets that add features should beminorand those that fix bugs should bepatch. Please prefix changeset messages withfeat:,fix:, orchore:.