Kat Marchán
4881523a9c
remove equals section
2024-11-28 00:18:49 -08:00
Kat Marchán
1e40ac66a4
get rid of syntactically significant unicode equals signs
...
Fixes : #399
2024-11-28 00:18:48 -08:00
Kat Marchán
fa3050ccc0
add 128-bit ints
2024-11-28 00:06:15 -08:00
Kat Marchán
93c4400a96
clarify that numbers don't need to be IEEE 754 floats
2024-11-27 01:02:02 -08:00
Kat Marchán
1e924bcc7f
clarifications around multiline prefixes
2024-10-03 20:53:01 -07:00
Thomas Jollans
bcfb3321c4
Tweak rules for escaped whitespace in multi-line strings ( #392 )
...
These rules are a bit more liberal than what was described previously,
but I think they're clearer and more consistent:
* This way, strings have the (I think intuitive) property that, when
you 'blindly' remove the whitespace escapes, the meaning is
unchanged.
* If you take any valid single-line string and add a newline character
and some indentation both at the start and the end, the string will
still be valid (and unchanged) - previously, this was not necessarily
the case if there were whitespace escapes.
2024-06-13 11:55:44 -07:00
Romain Delamare
6a77436e09
kql: only allow top() at start of selector ( #388 )
2024-04-17 12:41:50 -07:00
Kat Marchán
fa204cec62
unicode was not defined in grammar
2024-04-02 21:36:25 -07:00
Kat Marchán
c9134e3c16
change escape resolution order again
2024-04-02 00:58:25 -07:00
Kat Marchán
bea0f67685
turn it around: escapes should be resolved _before_ dedenting
2024-04-01 16:53:33 -07:00
Kat Marchán
fa9d30388c
remove duplication of keyword-number
2024-04-01 16:48:38 -07:00
Kat Marchán
d064bc9026
clarify multi-line strings and escapes interaction
2024-04-01 14:37:52 -07:00
Kat Marchán
281de7e977
review fixes
2024-04-01 14:26:44 -07:00
Kat Marchán
d0b30c3f35
Update SPEC.md
...
Co-authored-by: Bannerets <comonoid@protonmail.com>
2024-03-05 12:47:07 -08:00
Kat Marchán
aeb41cc7d7
Update examples/ci.kdl
...
Co-authored-by: Bannerets <comonoid@protonmail.com>
2024-03-05 12:46:04 -08:00
Kat Marchán
2de2ddc708
Update README.md
...
Co-authored-by: Bannerets <comonoid@protonmail.com>
2024-03-05 12:45:48 -08:00
Kat Marchán
b294e9cb5a
Update README.md
...
Co-authored-by: Bannerets <comonoid@protonmail.com>
2024-03-05 12:45:30 -08:00
Bram Gotink
9e7b958f0c
Ensure spec allows slashdash right after node separator ( #382 )
2024-02-18 13:18:50 -08:00
Bram Gotink
9132a96e56
Quote identifiers that contain an equals sign ( #381 )
2024-02-18 13:15:58 -08:00
Kat Marchán
dadcfdf2ae
Update tests/test_cases/expected_kdl/multiline_raw_string_indented.kdl
...
Co-authored-by: Dani Smith <danini@hey.com>
2024-02-15 12:03:25 -08:00
Kat Marchán
2fcf6d42d3
Update tests/test_cases/expected_kdl/multiline_string_indented.kdl
...
Co-authored-by: Dani Smith <danini@hey.com>
2024-02-15 12:03:18 -08:00
Kat Marchán
2710c90ff5
facepalm: forgot the full grammar change for float keywords
2024-02-13 00:15:03 -08:00
Kat Marchán
e773747b0b
Release 2.0 draft 4
2024-02-12 23:20:55 -08:00
Kat Marchán
fa816ca6df
add floats
...
Fixes: https://github.com/kdl-org/kdl/issues/374
2024-02-12 23:17:52 -08:00
Kat Marchán
631ec14059
allow /- at the very beginning of a document
2024-02-12 23:00:50 -08:00
wackbyte
921211782f
Remove extra indent in CI example ( #376 )
2024-02-12 10:54:07 -08:00
wackbyte
ec7880d4a5
Fix broken formatting in grammar language example ( #375 )
2024-02-12 10:53:38 -08:00
Kat Marchán
7ab86588c0
iterate a bit on KQL
2024-02-11 21:05:23 -08:00
Kat Marchán
abae1f9a39
more fixes
2024-02-08 16:16:42 -08:00
Kat Marchán
793a9d4ce7
normalize literal newlines in multiline strings
...
Fixes: https://github.com/kdl-org/kdl/issues/360
2024-02-08 11:24:40 -08:00
Kat Marchán
f0f9589636
example tweaks
2024-02-08 11:14:54 -08:00
Kat Marchán
f81fcfada5
minor reword
2024-02-08 09:47:42 -08:00
Kat Marchán
b1163e1f91
more small fixes
2024-02-08 09:35:26 -08:00
Kat Marchán
40d8c83aca
unicode character support clarifications
2024-02-07 16:07:54 -08:00
Kat Marchán
f767472cab
small readme improvements
2024-02-07 13:06:09 -08:00
Kat Marchán
2d4bcd0b51
Release 2.0.0 draft 3
2024-02-07 11:38:03 -08:00
Kat Marchán
35ac19b854
fix stray legacy bool in example
2024-02-07 11:36:59 -08:00
Kat Marchán
522ce8591e
clarify multi-line strings further
2024-02-07 11:33:47 -08:00
Kat Marchán
172c67b602
Release 2.0.0 draft 2
2024-02-06 13:56:50 -08:00
Kat Marchán
c15b5c2798
make note of .1/+.1 illegality in the changelog
2024-02-06 13:54:46 -08:00
Corey Powell
29495006bc
KDL V2 Test Fixes ( #368 )
...
* Add newlines to some of the bare ident tests that were missing them
* eof_after_escape.kdl is valid according to spec
2024-01-06 14:50:37 -08:00
Tab Atkins-Bittner
af91cc6319
Add tests for .1 and general 'ident ambiguous with a number' cases.
2024-01-04 11:12:10 -08:00
Tab Atkins-Bittner
1d6809ee46
Whoops, missed allowing '+.'
2024-01-03 17:25:34 -08:00
Tab Atkins-Bittner
1f28fb0e83
[editorial] Move keyword production to a better spot. Rephrase bool/keyword to include the # directly. Explicitly spell out the disallowed keywordish idents, and move where they appear. Rename numberish-ident to signed-ident (it's not numberish at all, is the point).
2024-01-03 17:19:03 -08:00
Tab Atkins-Bittner
bc2b995bfe
Rename/rearrange the string productions to match the spec text better.
2024-01-03 17:14:23 -08:00
Tab Atkins-Bittner
24cd2141d3
Disallow idents like '.1' to avoid footguns
2024-01-03 17:08:49 -08:00
Tab Atkins-Bittner
de37e11a29
Comments are now allowed in and around types (along with other types of ws)
2023-12-26 14:58:49 -08:00
Tab Atkins-Bittner
c273d249b6
Dang it, forgot to save README when fixing multiline earlier.
2023-12-26 14:41:01 -08:00
Tab Atkins-Bittner
094a615f82
Tests are invalid (contained U+FFFD, not surrogates) and are in general untestable since you can't represent surrogates in UTF-8, which KDL must be encoded in.
2023-12-26 14:36:48 -08:00
Tab Atkins-Bittner
1294f9733d
Fix tests about # in an ident string
2023-12-26 14:31:49 -08:00