Commit Graph

19 Commits

Author SHA1 Message Date
lolbinarycat d4cb651c68
Merge 4cf6feefcc into b8570137b6 2026-04-20 13:40:27 +00:00
lolbinarycat 8e18add9d4
KQL: fix link to KDL grammar (#530) 2025-06-11 09:58:40 -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
Bram Gotink b942867c58
Make whitespace required around query operators (#500) 2025-02-18 15:19:19 -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
Lars Willighagen 72a3c769d7
Fix q-ws rule in KQL grammar (#463) 2025-01-05 07:35:37 -08:00
Romain Delamare 6a77436e09
kql: only allow top() at start of selector (#388) 2024-04-17 12:41:50 -07: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 7790505bf9
Merge branch 'main' into kdl-v2 2023-12-12 23:44:10 -08:00
Kat Marchán fada1fc1dd
Update KQL text, too 2023-12-12 21:37:13 -08:00
Lars Willighagen 0dc4a92a69
Replace use of non-defined 'tag' term (#310)
Fixes: https://github.com/kdl-org/kdl/issues/306

In the specifications of KQL and JiK, replace the
usage of 'tag' with 'type annotation', as that is
the term in the main KDL specification.
2022-10-10 13:25:25 -07:00
Lars Willighagen 06d1d67359
Add draft grammar for KQL 1.0.0 (#303)
* Add draft grammar for KQL 1.0.0

* Change whitespace in KQL grammar

* Update KQL grammar to use new operators
2022-10-09 12:04:10 -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
Jihchi Lee a2e53990ed
Fix some typos (#161) 2021-09-15 07:37:53 -07:00
Kat Marchán f68137f526
slap a date on it 2021-09-11 21:08:09 -07:00
Lars Willighagen 0e89878072
Add tag syntax to KQL (#137) 2021-09-09 10:03:07 -07:00
Kat Marchán f6a45e1f27
KDL Query Language Spec (#111) 2021-08-31 19:02:34 -07:00