-
Notifications
You must be signed in to change notification settings - Fork 747
Config parser (and loader) #4744
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
Merged
Merged
Changes from 44 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
ed0a5c2
Add custom config parser
bentsherman f850005
Add grammar files
bentsherman b7976c9
Fix build issue
bentsherman 67c93c7
Use ParserPluginFactory to inject custom parser
bentsherman 325cf6a
Restore legacy parser, add environment var to enable new parser
bentsherman 17f3b06
Update docs
bentsherman 011d0e2
cleanup
bentsherman 97c8b8c
Update grammar to Groovy 4
bentsherman 3b56d76
Simplify grammar
bentsherman a4409e1
Cleanup, fix bug with unary ops
bentsherman 5a2d900
Add error reporting
bentsherman 2fd3208
Add more error messages
bentsherman 0fb9386
Update config AstBuilder to match groovy AstBuilder
bentsherman 2d79804
Make assignments statements
bentsherman 7e525df
Add source info to ast nodes
bentsherman 4984ee4
Fix rendering of closure source code
bentsherman e466aef
Add if/else statement
bentsherman a6d89cd
Support gstring values without curly braces
bentsherman 9c90f24
Merge branch 'master' into ben-config-parser
bentsherman 1907791
Replace config parser with shared library
bentsherman 6b0436c
Reorganize classes
bentsherman 2882b80
Add config-to-groovy ast transform
bentsherman 5c3d639
Merge branch 'master' into ben-config-parser
bentsherman e64598d
Add temporary hack to load shared library
bentsherman 0a2b6e0
Fix failing tests
bentsherman 8f73cfc
Fix failing test
bentsherman 3a73cd2
Add shared library hack to integration tests
bentsherman a4cbea4
Publish language server to mavenLocal, trying to publish via jitpack
bentsherman 6925fe5
Fix jitpack includeGroup
bentsherman ecacc00
Revert unnecessary changes
bentsherman 5819d95
Update compiler dependency
bentsherman 3727141
Fix includeConfig, minor edits
bentsherman 9bdad11
Merge branch 'master' into ben-config-parser
bentsherman c9e4c0a
Add config ast visitors
bentsherman 6c2bdff
Update unit tests
bentsherman 7778557
Add strict parser to CI matrix
bentsherman 0ea1d3c
Fix e2e tests
bentsherman 571cfb0
Merge branch 'master' into ben-config-parser
bentsherman 228c8ea
Fix failing tests
bentsherman f9a892c
Update docs
bentsherman 217144a
Fix failing tests
bentsherman 196032e
Fix failing test
bentsherman 8aa6eee
Update docs, add unit tests
bentsherman 33ef506
Fix failing test
bentsherman b8bf7b6
Merge branch 'master' into ben-config-parser
bentsherman 8fe07d4
Add class descriptions
bentsherman 6c727cd
Adjust CI tests
bentsherman 83b547c
Update docs/config.md
bentsherman 09f1498
cleanup
bentsherman ca26e26
Merge branch 'master' into ben-config-parser
pditommaso 5511f65
Refactor legacy/impl -> v1/v2
bentsherman df99b11
Separate ClosureToStringVisitor from xform
bentsherman 53565bc
Rename NXF_ENABLE_STRICT_SYNTAX -> NXF_SYNTAX_PARSER(=v2)
bentsherman e6b4048
Minor change [ci fast]
pditommaso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,8 +19,8 @@ package nextflow.config | |
| import groovy.transform.CompileStatic | ||
| import groovy.transform.EqualsAndHashCode | ||
| /** | ||
| * Placeholder class that replacing closure definitions in the nextflow configuration | ||
| * file in order to print the closure content itself | ||
| * Placeholder class that replaces closure definitions in the nextflow configuration | ||
| * file in order to print the closure source text | ||
| * | ||
| * @author Paolo Di Tommaso <[email protected]> | ||
| */ | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.