Skip to content
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

Merge KDL v2 #286

Merged
merged 106 commits into from
Nov 29, 2024
Merged
Changes from 1 commit
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
910f6e9
Do not escape / (Solidus, Forwardslash) (#197)
danini-the-panini Aug 28, 2022
69ac280
KQL: require operator and change operator grammar a bit (#221)
zkat Aug 28, 2022
2d5e543
KQL: remove map operator and accessors (#222)
zkat Aug 28, 2022
1bf4d74
Allow "empty" single line comments in the spec (#234)
basile-henry Aug 28, 2022
78a2d5f
Draft changelog
zkat Aug 28, 2022
f38edc7
add failing test for removed solidus escape
zkat Aug 28, 2022
ffeea8e
Use forward slash in solidus-escape test (#288)
bgotink Aug 30, 2022
337bd1b
Update expected output of test with changed input (#289)
bgotink Aug 30, 2022
825ff2c
Add escaped whitespace to KDL strings (#290)
Lucretiel Sep 1, 2022
0a4a14d
Add escaped whitespace note to v2 changelog (#291)
hkolbeck Sep 1, 2022
d437cf2
Add test for empty single-line comment (#292)
bgotink Sep 2, 2022
06d1d67
Add draft grammar for KQL 1.0.0 (#303)
larsgw Oct 9, 2022
3b39e29
Add vertical tab to whitespace. Closes #331
tabatkins Oct 6, 2023
568c096
Document the vertical tab addition.
tabatkins Oct 6, 2023
0836df1
Restrict idents from looking like raw strings. Closes #200, closes #2…
tabatkins Oct 6, 2023
eb55930
Update formal grammar for KDL 2.0 (#285)
CAD97 Dec 11, 2023
99abeef
fix some confusion in grammar syntax, and actually specify the syntax…
zkat Dec 13, 2023
e6356d5
allow ,<> as identifier characters since they no longer need to be re…
zkat Dec 13, 2023
85aa3a0
treat bare identifiers and strings in value locations (#358)
zkat Dec 13, 2023
2694146
# is just plain illegal now
zkat Dec 13, 2023
5e89c45
Update all examples to use most changes
zkat Dec 13, 2023
fada1fc
Update KQL text, too
zkat Dec 13, 2023
63feef7
Update schema spec
zkat Dec 13, 2023
31fd7bd
Update JiK and XiK too
zkat Dec 13, 2023
b42b6c8
Clarify that multiline comments are allowed after line continuations,…
zkat Dec 13, 2023
5a7b339
Constrain code points to unicode scalar values
zkat Dec 13, 2023
c8488db
Make last semicolon optional for inline nodes
zkat Dec 13, 2023
13799de
Allow whitespace in more places
zkat Dec 13, 2023
49402cc
allow BOM only in the first unicode scalar in a document
zkat Dec 13, 2023
fc1b594
add support for dedented multi-line strings and raw strings
zkat Dec 13, 2023
7790505
Merge branch 'main' into kdl-v2
zkat Dec 13, 2023
8de7df6
formatting
zkat Dec 13, 2023
a0d5030
Release 2.0 draft 1
zkat Dec 13, 2023
54df7f0
Update README
zkat Dec 13, 2023
817a7dc
fixes from review
zkat Dec 15, 2023
9f06153
Add explicit attribution for logo
zkat Dec 15, 2023
56f399b
Add \s to the list of escapes
zkat Dec 15, 2023
b51859e
update tests
zkat Dec 16, 2023
50d378f
update readme a bit
zkat Dec 16, 2023
90cd0b1
make unicodey equals signs valid property assignment characters
zkat Dec 17, 2023
0022536
small rewording
zkat Dec 17, 2023
39b9fac
fix stray quote
zkat Dec 17, 2023
055de4e
better organization of how we talk about identifiers/strings and comm…
zkat Dec 17, 2023
511ab6b
missed a spot
zkat Dec 17, 2023
d433332
Add LRM/RLM to the direction control char list
zkat Dec 17, 2023
d53d99f
test fixes
zkat Dec 17, 2023
057e8c8
Rewrite intro paragraph for strings to make their usage clearer.
tabatkins Dec 26, 2023
419995f
typos
tabatkins Dec 26, 2023
6d359d2
Remove now-irrelevant comment about idents acting like strings (they …
tabatkins Dec 26, 2023
b635470
be more specific
tabatkins Dec 26, 2023
491cc46
Fix the disallowed low ASCIIs
tabatkins Dec 26, 2023
6d091fd
Use consistent codepoint spelling
tabatkins Dec 26, 2023
f02ba59
Make multi-line ws prefix determined by the last line.
tabatkins Dec 26, 2023
935d054
Fix more multiline tests
tabatkins Dec 26, 2023
1294f97
Fix tests about # in an ident string
tabatkins Dec 26, 2023
094a615
Tests are invalid (contained U+FFFD, not surrogates) and are in gener…
tabatkins Dec 26, 2023
c273d24
Dang it, forgot to save README when fixing multiline earlier.
tabatkins Dec 26, 2023
de37e11
Comments are now allowed in and around types (along with other types …
tabatkins Dec 26, 2023
24cd214
Disallow idents like '.1' to avoid footguns
tabatkins Jan 4, 2024
bc2b995
Rename/rearrange the string productions to match the spec text better.
tabatkins Jan 4, 2024
1f28fb0
[editorial] Move keyword production to a better spot. Rephrase bool/k…
tabatkins Jan 4, 2024
1d6809e
Whoops, missed allowing '+.'
tabatkins Jan 4, 2024
af91cc6
Add tests for .1 and general 'ident ambiguous with a number' cases.
tabatkins Jan 4, 2024
2949500
KDL V2 Test Fixes (#368)
IceDragon200 Jan 6, 2024
c15b5c2
make note of .1/+.1 illegality in the changelog
zkat Feb 6, 2024
172c67b
Release 2.0.0 draft 2
zkat Feb 6, 2024
522ce85
clarify multi-line strings further
zkat Feb 7, 2024
35ac19b
fix stray legacy bool in example
zkat Feb 7, 2024
2d4bcd0
Release 2.0.0 draft 3
zkat Feb 7, 2024
f767472
small readme improvements
zkat Feb 7, 2024
40d8c83
unicode character support clarifications
zkat Feb 8, 2024
b1163e1
more small fixes
zkat Feb 8, 2024
f81fcfa
minor reword
zkat Feb 8, 2024
f0f9589
example tweaks
zkat Feb 8, 2024
793a9d4
normalize literal newlines in multiline strings
zkat Feb 8, 2024
abae1f9
more fixes
zkat Feb 9, 2024
7ab8658
iterate a bit on KQL
zkat Feb 12, 2024
ec7880d
Fix broken formatting in grammar language example (#375)
wackbyte Feb 12, 2024
9212117
Remove extra indent in CI example (#376)
wackbyte Feb 12, 2024
631ec14
allow /- at the very beginning of a document
zkat Feb 13, 2024
fa816ca
add floats
zkat Feb 13, 2024
e773747
Release 2.0 draft 4
zkat Feb 13, 2024
2710c90
facepalm: forgot the full grammar change for float keywords
zkat Feb 13, 2024
2fcf6d4
Update tests/test_cases/expected_kdl/multiline_string_indented.kdl
zkat Feb 15, 2024
dadcfdf
Update tests/test_cases/expected_kdl/multiline_raw_string_indented.kdl
zkat Feb 15, 2024
9132a96
Quote identifiers that contain an equals sign (#381)
bgotink Feb 18, 2024
9e7b958
Ensure spec allows slashdash right after node separator (#382)
bgotink Feb 18, 2024
b294e9c
Update README.md
zkat Mar 5, 2024
2de2ddc
Update README.md
zkat Mar 5, 2024
aeb41cc
Update examples/ci.kdl
zkat Mar 5, 2024
d0b30c3
Update SPEC.md
zkat Mar 5, 2024
281de7e
review fixes
zkat Apr 1, 2024
d064bc9
clarify multi-line strings and escapes interaction
zkat Apr 1, 2024
fa9d303
remove duplication of keyword-number
zkat Feb 15, 2024
bea0f67
turn it around: escapes should be resolved _before_ dedenting
zkat Apr 1, 2024
c9134e3
change escape resolution order again
zkat Apr 2, 2024
fa204ce
unicode was not defined in grammar
zkat Apr 3, 2024
6a77436
kql: only allow top() at start of selector (#388)
alightgoesout Apr 17, 2024
bcfb332
Tweak rules for escaped whitespace in multi-line strings (#392)
tjol Jun 13, 2024
1e924bc
clarifications around multiline prefixes
zkat Oct 4, 2024
93c4400
clarify that numbers don't need to be IEEE 754 floats
zkat Nov 27, 2024
fa3050c
add 128-bit ints
zkat Nov 28, 2024
1588b1f
get rid of syntactically significant unicode equals signs (#400)
zkat Nov 29, 2024
90e22bc
[v2] more predictable slashdash (#407)
zkat Nov 29, 2024
76a1de5
Release 2.0.0 draft 5
zkat Nov 29, 2024
8aa4c15
prep readme for merging to main
zkat Nov 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
# is just plain illegal now
  • Loading branch information
zkat committed Dec 13, 2023
commit 2694146af4fd2fb027c362080302e36923037ffc
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -25,8 +25,6 @@
improvement.
* Raw strings no longer require an `r` prefix: they are now specified by using
`#""#`.
* `#` is an illegal initial identifier character, but is allowed in other
places in identifiers.
* Line continuations can be followed by an EOF now, instead of requiring a
newline (or comment). `node \<EOF>` is now a legal KDL document.
* `#` is no longer a legal identifier character.