-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support for KDL 2.0 #24
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
8692567
test: update tests submodule
larsgw 59ed754
fix(parser): add whitespace escapes to quoted strings
larsgw fab0f3c
fix(parser): add vertical tab (0x0B) as newline
larsgw 3226239
fix(parser): update escaped characters for quoted strings
larsgw 8fea358
fix(parser): un-reserve ",", "<", and ">" from identifier strings
larsgw 2035981
fix(parser): disallow some literal code points
larsgw 972c49c
fix(parser): remove raw string prefix
larsgw 6de575c
fix(parser): fix escline behavior
larsgw 4559c86
fix(parser): remove '#' as identifier character
larsgw 2903356
fix(parser): update boolean/null literals
larsgw b38231b
fix(parser): allow bare identifier strings
larsgw 9ce2805
fix(parser): implement float keywords
larsgw fb4db0d
fix(parser): disallow more numeric-like bare identifiers
larsgw 45839cc
fix(parser): disallow banned identifier values
larsgw 9c7d629
fix(parser): disallow escaped unicode scalar values
larsgw fb5ee41
fix(parser): disallow more literal code points
larsgw 64ef565
fix(parser): only allow U+FEFF at start of file
larsgw ba220cb
fix(parser): implement bare identifier strings
larsgw c6a4111
fix(parser): fix slashdash behavior
larsgw 97cf99c
fix(parser): update optional whitespace limitations
larsgw 5f0ac6e
chore(ci): update dev dependencies
larsgw ff3e8ba
style(parser): add exceptions to eslint rules
larsgw bf7dc2a
fix(parser): implement multiline strings
larsgw 7a19541
fix(formatter): update to KDL 2.0
larsgw 8eaf8d2
fix(parser): fix slashdash behavior
larsgw 0355a70
fix(parser): fix disallowed code point regexes
larsgw 71a3473
fix(parser): fix unterminated nodes at the end of children blocks
larsgw 48a7b35
fix(parser): fix parsing of multiline strings
larsgw e3c6925
fix(parser): fix handling of surrogate pairs
larsgw 73b22a6
fix(query): update KQL to 2.0
larsgw 3cd06a3
docs(readme): validate examples
larsgw 7ea4e27
style(parser): remove unused code
larsgw b8095f3
chore: bump development dependencies
larsgw 0b1d787
refactor: change to ESM
larsgw f0d0598
fix(types): update to KDL 2.0
larsgw 62b7d27
docs(parser): fix jsdoc annotations
larsgw 62e9443
chore(jsdoc): update jsdoc configuration
larsgw 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 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 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 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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "test/kdl4j"] | ||
path = test/kdl4j | ||
url = https://github.com/hkolbeck/kdl4j | ||
[submodule "test/kdl-official"] | ||
path = test/kdl-official | ||
url = https://github.com/kdl-org/kdl |
This file was deleted.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"plugins": ["plugins/markdown"], | ||
"markdown": { | ||
"idInHeadings": true | ||
}, | ||
"tags": { | ||
"allowUnknownTags": true, | ||
"dictionaries": ["jsdoc", "closure"] | ||
}, | ||
"source": { | ||
"include": [ | ||
"src", | ||
"src/parser" | ||
] | ||
}, | ||
"opts": { | ||
"destination": "./docs/0.2/", | ||
"encoding": "utf8", | ||
"readme": "./README.md" | ||
}, | ||
"templates": { | ||
"default": { | ||
"includeDate": true | ||
}, | ||
"cleverLinks": false, | ||
"monospaceLinks": false | ||
} | ||
} |
This file contains 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 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 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is why we don't like yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBF I think it worked regardless, it just didn't match the rest of the file (nor my expectations)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂