Commit Graph

117 Commits

Author SHA1 Message Date
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
Daniel Smith 8d4f3ddcfd
add link to ruby implementation (#58)
Fixes: #53
2020-12-27 09:32:10 -08:00
hclarke 3da011acbc
Update SPEC.md (#57)
this does a few things with identifiers and strings:

- removes `"` from the set of identifier characters, to prevent ambiguity with string
- adds `bare-identifier` and `escaped-string` non-terminals (i think less mixing of terminal/non-terminal is easier to read?)
- moves string ahead of bare-identifier in identifier, for easier implementation with ordered-choice parsers
- moves raw-string into string, so you can have raw-string identifiers
2020-12-26 18:03:32 -08:00
Lars Willighagen f60ba7edc1
Add link to kdljs (#45) 2020-12-22 17:13:56 -08:00
Kat Marchán c6bb3903cf
add javascript impl 2020-12-22 17:07:42 -08:00
hclarke 81fad70856
Fixed escape table formatting (#44) 2020-12-22 14:33:39 -08:00
Kat Marchán e7135dd0dc
add editor support section 2020-12-21 18:36:48 -08:00
Kat Marchán d8ddd5070e
fix url 2020-12-19 23:46:07 -08:00
Kat Marchán 23a419289d
add basic html translation example 2020-12-19 19:58:43 -08:00
Kat Marchán aaa7c97cdf
v1.0.0-pre.1 2020-12-19 12:58:53 -08:00
Kat Marchán b1f00d5d8d
capitalize 2020-12-19 12:58:35 -08:00
Kat Marchán cf341eac91
more blabber 2020-12-18 22:58:09 -08:00
Kat Marchán 60bcfdf926
require terminator after node-children too 2020-12-18 22:56:27 -08:00
Kat Marchán b30b0cf93a
messing with nodes some more 2020-12-18 21:32:40 -08:00
Kat Marchán dfc1441ec9
more node and nodes fixes 2020-12-18 20:06:11 -08:00
Kat Marchán 42672c1701
forgot eof 2020-12-18 19:31:44 -08:00