Commit Graph

132 Commits

Author SHA1 Message Date
Lars Willighagen 0e89878072
Add tag syntax to KQL (#137) 2021-09-09 10:03:07 -07:00
Lars Willighagen f242250d22
draft Schema spec for node and value tags (#135) 2021-09-09 07:50:58 -07:00
Tab Atkins Jr f1941b53d3
Allow node names to have type annotations. Bump JiK to take advantage of this. (#132) 2021-09-08 18:03:13 -07:00
Tab Atkins Jr b0eee36df8
Fix leftover contradiction in doctype nodes (#133)
An earlier idea had doctypes and some other weird nodes just encode the entire thing in the node name. I moved away from that, but accidentally left reference to it in the definition of valid nodes.

While I'm here, slightly fix up my wording around "attribute".
2021-09-08 10:41:42 -07:00
Lars Willighagen ede621807e
Fix multi-line-comment grammar (#130)
Fix https://github.com/kdl-org/kdl/issues/128
2021-09-05 12:12:35 +02:00
Jo Liss dec2565a17
fix typos (#129) 2021-09-03 08:02:49 -07:00
Kat Marchán cbb500a4ac
allow /- to cross linespaces (#127)
Ref: https://github.com/kdl-org/kdl/issues/121
2021-09-02 15:29:25 -07:00
Kat Marchán 6b4d0ea030
allow eof termination for single line comments (#126) 2021-09-02 15:25:13 -07:00
Kat Marchán 2e42c4c0ec
Change URIs to URLs for clarity (#125) 2021-09-02 15:10:03 -07:00
Kat Marchán a44fcbb1d4
add type annotation info to spec (#123)
Fixes: https://github.com/kdl-org/kdl/issues/106
2021-09-02 09:23:51 -07:00
Lars Willighagen 80dec07c37
Add schema specs for info and definitions (#120)
Fixes: https://github.com/kdl-org/kdl/issues/113
2021-09-01 22:07:09 -07:00
Kat Marchán 7c54aae64f
actually add child node spec to spec itself
Fixes: https://github.com/kdl-org/kdl/issues/59
2021-08-31 23:08:12 -07:00
Kat Marchán 0a3e498e16
clarify ordering stuff 2021-08-31 23:00:39 -07:00
Kat Marchán e4ad12ecfd
more links to XiK and JiK 2021-08-31 22:41:59 -07:00
Kat Marchán 762d20ed3b
add attribution for test suite 2021-08-31 22:34:29 -07:00
Kat Marchán 83c24e48a4
add a note about what to do if a test fails (or wrongly succeeds) 2021-08-31 22:31:16 -07:00
Kat Marchán fd478c29c7
bring over test suite from kdl4j (#119) 2021-08-31 22:25:11 -07:00
Kat Marchán 129812543f
prevent the three "keywords" from being used as bare identifiers (#117)
Fixes: https://github.com/kdl-org/kdl/issues/114
2021-08-31 21:47:59 -07:00
Kat Marchán 37c0a38baa
allow _ in post-decimal-point section (#118)
Fixes: https://github.com/kdl-org/kdl/issues/69
2021-08-31 20:39:17 -07:00
Kat Marchán 3f739cad42
make / illegal in identifiers
Fixes: https://github.com/kdl-org/kdl/issues/75
2021-08-31 20:09:45 -07:00
Kat Marchán d7089944ac
schema: add base64 format 2021-08-31 19:59:23 -07:00
Kat Marchán 04a84a72ec
link to other specs 2021-08-31 19:38:26 -07:00
Kat Marchán f6a45e1f27
KDL Query Language Spec (#111) 2021-08-31 19:02:34 -07:00
Kat Marchán 34c6592f09
remove () from identifiers so we can use it for KQL (#108) 2021-08-31 17:09:57 -07:00
Kat Marchán d87979f175
KDL schema spec (#104)
Fixes: https://github.com/kdl-org/kdl/issues/83
2021-08-31 12:03:27 -07:00
Tab Atkins Jr 9e35601c91
Partially revert #99 (#100)
6704988633 disallowed identifiers from ever starting with a sign character. This disallowed idents like `-`, or like the CSS `--foo` properties.

This change instead allows an ident to start with a sign character, so long as the *second* character isn't a digit.

I also tweaked the prose definition of identifier to talk about this restriction.
2021-08-24 14:57:03 -07:00
Kat Marchán 6704988633
identifiers should never look like numbers (#99) 2021-08-24 09:10:08 -07:00
Kat Marchán 5883435297
fix(grammar): allow whitespace before a node-terminator (#98)
kudos to @lucretiel for spotting this one.
2021-08-21 18:05:53 -07:00
Tab Atkins Jr 549ba1d2ec
First pass at XiK (#95)
* First pass at XiK

* fix the doctype node

* XML comments use KDL multiline comments, with ! nodes as an alternative.
2021-08-03 16:31:43 -07:00
Danielle Smith d4ae61f4f4
fix: remove deadusername (#94) 2021-07-23 13:10:01 -07:00
Tab Atkins Jr cc48e85f58
Switch literal nodes to `-` (#93)
`-` is slightly easier to type than `_` (no Shift, at least on american keyboards), and it's consistent with the "dummy" node name I'm planning to use for text nodes in XML-in-KDL.

(`_` is a valid XML element name, so I can't use that in XiK.)
2021-07-19 10:30:17 -07:00
Tab Atkins Jr 3e5184d788
Add JiK spec (#92) 2021-07-18 14:11:08 -07:00
Serafina Brocious e7147cf4ac
Fixed inconsistency between spec wording and BNF (#88) 2021-04-18 20:19:34 -07:00
Serafina Brocious 15aff6a309
Added optional sign to all number syntaxes (#87) 2021-04-18 20:19:21 -07:00
Serafina Brocious 00ed4b588b
Added Python implementation. (#86) 2021-04-18 20:18:59 -07:00
Kat Marchán 44c295358e
Use regular short = in readme example
Fixes: #77
2021-01-14 20:55:20 -08:00
Kat Marchán 33f0146eda
Clarify licensing situation 2021-01-14 20:51:58 -08:00
Kat Marchán 9fc879403c
Add PHP to list of impls
Fixes: #65
2021-01-12 21:22:06 -08:00
Hannah Kolbeck a5295f1bb0
Add Java implementation to list in README (#74) 2021-01-12 20:08:57 -08:00
Daniel Smith 9ceb0ed8d4
Possible typo in "Escapes" table (#72)
The maximum unicode code point is `10FFFF` but in the escapes table it states code points can only go up to `10FFF`. I think this is an error, since most emojis are well above that number, and other languages allow escapes up to `10FFFF`
2021-01-11 12:08:03 -08:00
Daniel Smith 1f293c280b
Add forwardlash to escapes table (#73)
I noticed this was a valid escape char in the rust implementation. Not sure if this was intended.
2021-01-11 12:07:28 -08:00
Hannah Kolbeck e8dbd597d7
Change strings in nuget example to raw where needed. (#70) 2021-01-08 21:09:33 -08:00
Hannah Kolbeck 1cf1fd0597
Correct description of the raw string format (#71) 2021-01-08 21:09:11 -08:00
Daniel Smith 4b20446ace
add link to dart version (#63) 2021-01-02 12:42:32 -08:00
Timothy Merritt ba3f464341
Add SVGs for Logo, Logo w/ Tagline (#62)
* (style): Add KDL logo and favicon files

* (style): Add SVGs for Logo, Logo w/ Tagline
2021-01-01 15:03:06 -08:00
Timothy Merritt 51ccbb3236
(style): Add KDL logo and favicon files (#61) 2021-01-01 09:54:49 -08:00
Lars Willighagen 89b52b2145
Fill in string escapes table (#60) 2020-12-29 11:27:37 -08:00
Kat Marchán 0251a090f7
cuddling 2020-12-27 19:24:28 -08:00
Kat Marchán 141b14cb72
this reduplication is silly 2020-12-27 17:58:42 -08:00
Kat Marchán 690de83bb4
add FAQ 2020-12-27 17:24:52 -08:00