Commit Graph

399 Commits

Author SHA1 Message Date
lolbinarycat d4cb651c68
Merge 4cf6feefcc into b8570137b6 2026-04-20 13:40:27 +00:00
Nicholas Reid b8570137b6
Update README.md (#560)
Added Golang library that supports both v1 and v2, and passes kdl-rs and kdl-test.
2026-04-17 12:32:01 -07:00
Brandon Chinn 4e4c0af933
Fix multi-line-string-body grammar (#552)
* Make multi-line-string-body non-greedy

* Don't require string-character after quotes in multiline strings

* Prevent accidentally consuming triple quotes in multi-line-string-body

* Add test cases
2026-03-25 09:59:25 -07:00
Astrusia 568d103308
Added KdlSharp to readme README.md (#551)
since Kadlet is not maintained, I proposed adding KdlSharp for v2 users in a [discussion](https://github.com/kdl-org/kdl/discussions/550)

I also added the requirements in the note (from KdlSharp README.MD). I abbreviated them to fit in the width of the table.

I hope the style is fine
2026-03-23 13:59:14 -07:00
Evgeny 5f73be73c7
Add Ferron to the list of examples (#557) 2026-03-20 15:29:46 -07:00
Brandon Chinn 54a49798d9
Mark kdl-hs as v2 compliant (#555) 2026-02-23 14:30:41 -08:00
Louis Pearson 0ff5a6ffa3
Add Zig support to README compatibility table (#554) 2026-02-10 09:19:04 -08:00
remexre 3b75764880
Assorted spelling fixes. (#548) 2026-01-12 13:41:57 -08:00
Brandon Chinn f238372fc9
Add kdl-hs to Haskell implementations (#547) 2026-01-03 08:43:12 -08:00
Tab Atkins Jr. d8faf22503
Fix link to spec 2025-10-14 16:33:27 -07:00
Adam Naji ebf9ef7649
docs: adds missing Typescript DOM generator (#540) 2025-07-31 09:51:33 -07:00
Kainoa Kanter 5366787152
docs: add link to Zed extension (#539) 2025-07-30 19:30:02 -07:00
Romain Delamare 85930fd8dd
Kdl4J now supports KDL v2 (#538) 2025-07-14 09:01:34 -07:00
lolbinarycat 8e18add9d4
KQL: fix link to KDL grammar (#530) 2025-06-11 09:58:40 -07:00
Tab Atkins Jr. 43d8a5dbf3
lint error 2025-06-04 13:47:41 -07:00
Tab Atkins Jr. 5d82f60407
Disallow -inf from being a signed-ident
Just moving the `- disallowed-keyword-identifiers` up to the parent production so it catches all the ident productions, to make any similar mistakes impossible.
2025-06-04 13:45:30 -07:00
Dion Dokter ab92232126
Fix typo in XML-IN-KDL.md (#524)
* Fix typo in XML-IN-KDL.md

* Update XML-IN-KDL.md

---------

Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
2025-05-17 09:09:04 -07:00
lolbinarycat 4cf6feefcc
KQL can only select nodes
the spec, as it exists, only seems to specify how to select nodes.

while it is true that matchers can reference properties and arguments, these are only ever used for filtering, and cannot be returned from the query.

thus, i am proposing to remove this sentence as it is somewhat confusing.

being able to select arguments and properties, similar to how xpath `@prop` works, would be nice, but it would require a new version of the spec with significantly more features.
2025-05-11 12:35:21 -05:00
lolbinarycat 5e5920fd7c
Update draft-marchan-kdl2.md (#519)
disallowed-keyword-identifiers was referred to as disallowed-keyword-strings
2025-05-09 13:10:34 -07:00
Tab Atkins Jr. 11615b2807
Clarify what it means for digits to be separated by underscores. (#517) 2025-04-28 12:33:48 -07:00
Tab Atkins Jr. 42ce272508
Actually state in the normative portion how whitespace-only lines are treated. Related to #515 (#516)
* Actually state in the normative portion how whitespace-only lines are treated. Related to #515

* lint
2025-04-28 11:45:55 -07:00
Romain Delamare a88c450d7d
rename test case to better describe error (#509) 2025-02-25 11:21:42 -08:00
Bram Gotink b942867c58
Make whitespace required around query operators (#500) 2025-02-18 15:19:19 -08:00
Bram Gotink ee79f9f755
Escape U+200E and U+200F (#506)
Fixes #502
2025-02-18 15:18:18 -08:00
Lars Willighagen 84911feb11
Remove mandatory node-space before slashdash and children block (#499)
* Remove mandatory node-space before slashdash

Fix #495

* Add tests

* Fix more tests

* Fix tests again
2025-01-28 16:48:09 -08:00
Bram Gotink c54ebd9473
Align test formatting (#501)
Other tests don't have quotes around strings if the string
is a valid identifier, this test is the odd one out.
2025-01-28 16:45:14 -08:00
Lars Willighagen 6c55186c03
Add link to Kate Editor Support (#498) 2025-01-23 12:30:47 -08:00
Kat Marchán 21a9eb3f65
actual tweaks, plus some automatic reformatting (#497) 2025-01-22 22:40:36 -08:00
Kat Marchán aab44fcd1b
minor tweaks to wording/clarifications (#484) 2025-01-22 16:52:12 -08:00
Evgeny d76063e8e9
Exclude hex above max Unicode Scalar Value (#456)
* Exclude hex above max Unicode Scalar Value

simplify surrogate regex to use ranges

* allow leading 0s, but still limit max length to 6

* Add explicit regex-set rules to hex unicode

document {1,3} ranges

* add space-separators between sets

* Make test fail *only* for length limits

Previously it failed due to specifying a codepoint past max *as well*, obscuring the intended fail condition.

---------

Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
2025-01-21 09:16:45 -08:00
Kat Marchán e9e6a844bd
Add Onyx to list of users 2025-01-21 03:03:56 -08:00
Tab Atkins-Bittner 7322f37800 Add the compact form of html-standard.kdl as a secondary benchmarking point. 2025-01-20 17:29:13 -08:00
Kat Marchán 919e154dcd
UTF-8 is a hard requirement, actually (#490) 2025-01-20 04:13:45 -08:00
Kat Marchán 53a884c93d
Create SPEC.md 2025-01-19 09:45:05 -08:00
Tab Atkins Jr. 23159696d1
Add the html standard, in kdl format, as a large-document benchmark. (#488)
* Add the html standard, in kdl format, as a large-document benchmark.

* Explain the purpose of the benchmarks
2025-01-18 08:58:43 -08:00
Clar Fon 82a91697a1
Fix typo: RFC1123 is the RFC that defines requirements for hostnames (#487) 2025-01-18 01:18:17 -08:00
Jeffrey Yasskin 4263a9de3f
Convert the specification into RFC format (#466)
Fixes: https://github.com/kdl-org/kdl/issues/461

* Initial conversion to Internet-Draft.

* Setup repository for draft-marchan-kdl2 using https://github.com/martinthomson/i-d-template

* Remove unnecessary changes.

* Tweak source to make the I-D build.

* Fix zkat's name. Guess at their preferred initials.

* Separate links where linking text equals the anchor.

This works around https://github.com/cabo/kramdown-rfc/issues/249.

* Replace horizontal rules with subsections.

RFCXML v3 doesn't include horizontal rules.

* Use ~~~kdl  instead of `` for strings with significant whitespace.

That compiles to <sourcecode> which preserves sequences of spaces.

* Give breadcrumbs to the RFC format definitions.

* Point contributors to https://author-tools.ietf.org/.

For if installing the dependencies is inconvenient.

* Separate a code block from adjacent text.

* Remove a workflow that overwrites customized files.

* Remove the 'archive' workflow.

* Use "Term ({{term}})" uniformly instead of just when the term matches the anchor.

* Fix the instructions for preserving the RFCXML.

* Remove the default copyright notice until the spec is relicensed.

* Take the IETF licensing details out of CONTRIBUTING.md.
2025-01-17 21:06:17 -08:00
Tab Atkins Jr. 0c2dde6d3c
Support empty multiline strings (#483)
* Support empty multiline strings

Per <https://github.com/kdl-org/kdl/discussions/481>, the grammar doesn't actually allow the first and last newline in a multiline string to be the same (indicating an empty string). This looks like the minimal fix for it.

* Add tests for empty multilines

* remove accidental newline
2025-01-17 16:28:52 -08:00
Bram Gotink 20375a187e
align prose text on initial identifier characters with grammar (#464) 2025-01-17 09:54:19 -08:00
Dani Smith 91cd421988
update SPEC to keep lines lengths short (#470) 2025-01-17 09:52:28 -08:00
Dani Smith 34e4259dfc
Remove Identifier String termination phrase (#485)
Fixes: https://github.com/kdl-org/kdl/issues/480
2025-01-17 09:18:43 -08:00
Evgeny a3b37857e2
Note Sublime Text support of v2 (#474) 2025-01-12 10:15:51 -08:00
Evgeny 9c9d2b2445
test: add a fail-test braces in bare ids (#477)
or a child block without space separator

current test is inadequate as it has extra fail that can mask this one
2025-01-12 09:17:44 -08:00
Dani Smith 39a098237d
identifier strings can technically be terminated by EOF (#469) 2025-01-09 08:56:33 -08:00
Kat Marchán 1147fe965a
kdljs now supports v2 2025-01-08 09:01:30 -08:00
Lars Willighagen 72a3c769d7
Fix q-ws rule in KQL grammar (#463) 2025-01-05 07:35:37 -08:00
Dani Smith 757eb5517a
Update KDL Play link (#462) 2025-01-04 10:00:12 -08:00
Kat Marchán 2843744a87
Add Iron Vault to users list
Idk why I forgot this one haha
2025-01-02 16:56:31 -08:00
Dani Smith 6d2bc50939
Add Dart v2 to README (#458) 2025-01-02 10:48:36 -08:00
Dani Smith 3b19a761ff
Add 128-bit number formats to Schema spec (#459) 2025-01-02 10:41:34 -08:00