Thomas Jollans
c8dd45a0f1
Mention ckdl in the README ( #296 )
2022-09-17 15:18:49 -07:00
Tab Atkins Jr
76d5dd542a
Editorial rephrasing; define empty array/object
...
Did an editorial pass over the document, rewriting most of the prose slightly.
Caught a place or two that was still referring to tags for object keys.
Sole non-editorial change was adding the final ambiguous case - a completely empty node. These are required to have an `(array)` or `(object)` tag to be valid.
2022-09-02 15:02:05 -07:00
Bram Gotink
fb80016011
Make JSON-in-KDL more minimalistic ( #293 )
2022-09-02 13:54:08 -07:00
Bram Gotink
d437cf228b
Add test for empty single-line comment ( #292 )
2022-09-02 07:37:10 -07:00
Hannah Kolbeck
0a4a14d87a
Add escaped whitespace note to v2 changelog ( #291 )
...
* Add escaped whitespace note to v2 changelog
* Make changelog note on escaping whitespace more detailed
2022-09-01 13:05:53 -07:00
Nathan West
825ff2c17d
Add escaped whitespace to KDL strings ( #290 )
...
* Add escaped whitespace to KDL spec
* Add test cases for escaped whitespace
* Spelling error
2022-08-31 21:49:01 -07:00
Bram Gotink
337bd1bccf
Update expected output of test with changed input ( #289 )
2022-08-30 10:44:44 -07:00
Bram Gotink
ffeea8e5aa
Use forward slash in solidus-escape test ( #288 )
2022-08-30 08:11:51 -07:00
Kat Marchán
f38edc765d
add failing test for removed solidus escape
2022-08-28 13:28:47 -07:00
Kat Marchán
78a2d5f5ed
Draft changelog
2022-08-28 13:14:37 -07:00
Basile Henry
1bf4d740fa
Allow "empty" single line comments in the spec ( #234 )
...
As I read the grammar in the spec, `"//"` wouldn't parse as a single-line-comment as it requires as least one non-newline character after the slashes.
2022-08-28 13:07:17 -07:00
Kat Marchán
2d5e543bbe
KQL: remove map operator and accessors ( #222 )
...
Honestly, they're just too implementation-specific
2022-08-28 13:01:53 -07:00
Kat Marchán
69ac280bf0
KQL: require operator and change operator grammar a bit ( #221 )
2022-08-28 13:01:07 -07:00
Danielle Smith
910f6e90a7
Do not escape / (Solidus, Forwardslash) ( #197 )
2022-08-28 12:59:26 -07:00
Fabian Cook
d9459f67c0
Correct @virtualstate/kdl description ( #279 )
2022-07-29 19:43:42 -07:00
Fabian Cook
4f739516e6
Add @virtualstate/kdl to implementations ( #278 )
2022-07-29 09:10:01 -07:00
oledfish
e8fe0c38a8
Add .NET library to the implementation list ( #277 )
...
As per #51
2022-07-23 17:01:18 -07:00
oledfish
9daa2019f7
Fix RFC typo ( #276 )
...
The ``email`` field in Reserved Type Annotations for Strings refers to [RFC 5302](https://datatracker.ietf.org/doc/html/rfc5302 ), it should be [RFC 5322](https://datatracker.ietf.org/doc/html/rfc5322 ) instead.
2022-07-22 10:34:21 -07:00
Kat Marchán
81fda2455f
docs: add kaydle to impl list
2022-07-20 09:32:31 -07:00
Bram Gotink
b027d3a751
Remove children from node terminals ( #275 )
...
The grammar doesn't specify that children count
as node terminator, but the text does.
The following document would be valid per text,
but invalid per spec.
```kdl
node { child {} }
```
Fixes #274
2022-07-11 15:13:05 -07:00
Jelle Besseling
fcd489afa6
Add more info about the hyphen character in identifiers ( #271 )
2022-04-25 10:04:28 -07:00
Sebastian Paarmann
81a58e64ee
Mention multi-line comments in spec prose ( #263 )
2022-03-29 13:00:29 -07:00
Melody Horn
cc1da35435
allow contributor link in `kdl-schema.kdl` ( #260 )
2022-03-27 22:12:32 -07:00
Melody Horn
168fd6abdc
fix `kdl-schema.kdl` well-formedness ( #259 )
2022-03-27 11:58:39 -07:00
Tab Atkins Jr
3e915b5be3
Clarify the parsing of hostname and idl-hostname ( #248 )
...
Ref: #247
2022-02-19 02:06:54 -08:00
Christopher Durham
8976e2da68
Define `digit` in formal grammar ( #236 )
...
`digit` is used as a subtraction in bare-identifier, but never defined.
2022-02-19 02:06:17 -08:00
Tab Atkins Jr
5a566ea5e3
Fix #212 by clarifying left/right ( #249 )
2022-02-19 02:04:38 -08:00
Paul Colomiets
23bbe1ebec
Add `knuffel` to the list of implementations ( #256 )
2022-02-07 15:50:39 -08:00
Mahmoud Mazouz
f82a106814
Add link to Haskell implementation. ( #243 )
2021-10-24 17:59:50 -07:00
Tab Atkins Jr
a1d85e9fe1
[editorial] tweak node-props-and-args grammar ( #240 )
...
* replaces a `foo foo*` with a `foo+`
* switches the name of the production to singular, since it only represents one prop/arg at a time
No normative changes intended.
2021-10-17 08:46:34 -07:00
Matthew Gamble
617ab86e5e
Add link to additional python implementation ( #239 )
2021-10-17 08:03:59 -07:00
Tab Atkins Jr
e5e131920f
Link to new python impl
...
previous one is (currently, at least) dead
2021-10-08 12:09:09 -07:00
Tab Atkins Jr
05d16e0597
Per #223 discussion, this *should* be a parse error. ( #226 )
...
Fixes : #223
2021-10-07 08:01:18 -07:00
Tab Atkins Jr
93cc6724f2
Verify that a slash-dashed prop doesn't shadow a previous prop of the same name ( #227 )
2021-10-06 15:01:49 -07:00
Tab Atkins Jr
3f293ff01d
Empty children aren't reflected in the data model. ( #219 )
...
Fixes: https://github.com/kdl-org/kdl/issues/218
2021-10-05 20:27:28 -07:00
Tab Atkins Jr
b22ed4b1b0
Add missing expected file ( #217 )
...
Per the grammar (`decimal := integer ('.' [0-9] [0-9_]*)? exponent?`), underscores in the fraction part should be allowed (as in `node 1.0_2`, the contents of the corresponding input file), but there was no expected_kdl file for this test case, indicating it's supposed to be a parse failure.
I'm assuming this was a mistake, since underscores in the fraction part make complete sense (and are allowed in the other two parts of a decimal number).
2021-10-04 17:47:24 -07:00
Danielle Smith
5a2f4969fe
fix: non-decimal test output according to docs ( #196 )
2021-09-27 17:44:21 -07:00
Danielle Smith
05af2fb657
fix: do not escape solidus (forwardslash) in test ( #198 )
2021-09-27 17:42:30 -07:00
Christopher Durham
296fe129e1
argument/property ordering clarification ( #206 )
2021-09-26 22:47:08 -07:00
Devasta
99d9168a4a
Added xml2kdl to the list of implementations. ( #201 )
2021-09-25 10:27:32 -07:00
Ben Reinhart
24faa6b75c
tests: add more coverage for keywords ( #189 )
2021-09-20 19:01:48 -07:00
Ben Reinhart
5c4f83b824
Update line continuation wording ( #184 )
2021-09-19 16:28:25 -07:00
Hannah Kolbeck
f59ca2476a
Add type annotation tests from kdl4j and tweak unusual char in quoted id test ( #181 )
...
Co-authored-by: Hannah Kolbeck <hannah.kolbeck@streem.com>
2021-09-19 08:11:19 -07:00
Ben Reinhart
8ca18fec0a
tests: ensure output of illegal ident is quoted ( #178 )
2021-09-17 13:33:56 -07:00
Dave Anderson
0bbe723eb5
tests: adjust bare identifier inputs to match spec. ( #168 )
...
/ is not a valid identifier character. This updates
unusual_chars_in_bare_id.kdl to only include unusual but valid
identifier characters, and adds separate invalid input tests
for non-identifier characters.
Fixes #166
2021-09-16 10:46:22 -07:00
Chris Babcock
8ae4ae648e
Preserve duplicate nodes ( #167 )
...
Fixes: https://github.com/kdl-org/kdl/issues/165
2021-09-16 01:46:26 -07:00
Ben Reinhart
16269d4325
Prevent markdown from parsing []() as link ( #162 )
...
* Use same order from grammar definition
2021-09-15 18:26:50 -07:00
Jihchi Lee
a2e53990ed
Fix some typos ( #161 )
2021-09-15 07:37:53 -07:00
Corey Powell
843beb99a5
Added Elixir implementation to list ( #156 )
...
Fixes : #155
2021-09-14 07:48:26 -07:00
Chris Morgan
785abebfc5
fix(spec): Correct bom from U+FFEF to U+FEFF ( #153 )
2021-09-13 20:17:20 -07:00