-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(#25): license rule #32
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #32 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 95 95
=========================================
Hits 95 95 ☔ View full report in Codecov by Sentry. |
@rultor merge |
@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here. |
@h1alexbel Done! FYI, the full log is here (took me 7min). |
@rultor release, tag is |
@h1alexbel Invalid release tag |
@h1alexbel I'm sorry, I don't understand you :( Check this page and try again please. |
@rultor release, tag is |
@h1alexbel OK, I will release it now. Please check the progress here. |
@h1alexbel Done! FYI, the full log is here (took me 7min). |
In this pull I've added
license
rule into program grammar in order to support license at the top of file.closes #25
PR-Codex overview
This PR introduces support for license comments in the program structure and adds a test to ensure proper parsing of files that include a license.
Detailed summary
program
grammar insrc/program.pest
.license
rule to capture comments as licenses.parses_program_with_license
insrc/parser/fsl_parser.rs
to verify parsing ofwith-license.fsl
.resources/programs/with-license.fsl
to include a sample license text.