Commit Graph

283 Commits

Author SHA1 Message Date
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
Tab Atkins-Bittner 935d054d13 Fix more multiline tests 2023-12-26 14:28:25 -08:00
Tab Atkins-Bittner f02ba59c0c Make multi-line ws prefix determined by the last line. 2023-12-26 14:19:45 -08:00
Tab Atkins-Bittner 6d091fd493 Use consistent codepoint spelling 2023-12-26 13:18:01 -08:00
Tab Atkins-Bittner 491cc46f89 Fix the disallowed low ASCIIs 2023-12-26 13:16:55 -08:00
Tab Atkins-Bittner b635470ab2 be more specific 2023-12-26 13:06:22 -08:00
Tab Atkins-Bittner 6d359d2e4c Remove now-irrelevant comment about idents acting like strings (they *are* strings now). 2023-12-26 13:05:10 -08:00
Tab Atkins-Bittner 419995ff19 typos 2023-12-26 13:04:44 -08:00
Tab Atkins-Bittner 057e8c894d Rewrite intro paragraph for strings to make their usage clearer. 2023-12-26 13:04:35 -08:00
Kat Marchán d53d99ff2e
test fixes 2023-12-17 13:37:37 -08:00
Kat Marchán d4333322d9
Add LRM/RLM to the direction control char list 2023-12-17 13:24:00 -08:00
Kat Marchán 511ab6b6ff
missed a spot 2023-12-17 10:01:42 -08:00
Kat Marchán 055de4e1be
better organization of how we talk about identifiers/strings and comments 2023-12-16 21:44:25 -08:00
Kat Marchán 39b9fac0d3
fix stray quote 2023-12-16 20:39:18 -08:00
Kat Marchán 0022536fc7
small rewording 2023-12-16 16:09:57 -08:00
Kat Marchán 90cd0b1bb9
make unicodey equals signs valid property assignment characters 2023-12-16 16:09:13 -08:00
Kat Marchán 50d378f1db
update readme a bit 2023-12-16 15:50:40 -08:00
Kat Marchán b51859edf3
update tests
Fixes: https://github.com/kdl-org/kdl/issues/359
2023-12-16 14:44:32 -08:00
Kat Marchán 56f399bf71
Add \s to the list of escapes 2023-12-14 19:25:12 -08:00
Kat Marchán 9f061537c9
Add explicit attribution for logo 2023-12-14 19:17:41 -08:00
Kat Marchán 817a7dc0ab
fixes from review 2023-12-14 19:12:59 -08:00
Kat Marchán 54df7f0cab
Update README 2023-12-13 00:21:55 -08:00
Kat Marchán a0d5030e3b
Release 2.0 draft 1 2023-12-12 23:49:26 -08:00