@@ -60,10 +60,13 @@ There's a living
60
60
various [ implementations] ( #implementations ) . You can also check out the
61
61
[ FAQ] ( #faq ) to answer all your burning questions!
62
62
63
- The current version of the KDL spec is ` 2.0.0 ` . For legacy KDL, please refer to
64
- the [ KDL 1.0 spec] ( https://github.com/kdl-org/kdl/blob/main/SPEC_v1.md ) . All
65
- users are encouraged to migrate. [ Migration is forward-and-backward-compatible
66
- and safe] ( https://github.com/kdl-org/kdl/blob/main/SPEC.md#compatibility ) , and can be automated.
63
+ The current version of the KDL spec is
64
+ [ KDL 2.0.0] ( https://github.com/kdl-org/kdl/blob/2.0.0/SPEC.md ) . For legacy KDL,
65
+ please refer to the [ KDL 1.0.0
66
+ spec] ( https://github.com/kdl-org/kdl/blob/2.0.0/SPEC_v1.md ) . All users are
67
+ encouraged to migrate. [ Migration is forward-and-backward-compatible and
68
+ safe] ( https://github.com/kdl-org/kdl/blob/2.0.0/SPEC.md#compatibility ) , and can
69
+ be automated.
67
70
68
71
In addition to a spec for KDL itself, there are specifications for [ a KDL Query
69
72
Language] ( https://github.com/kdl-org/kdl/blob/main/QUERY-SPEC.md ) based on CSS selectors, and [ a KDL Schema
@@ -114,7 +117,7 @@ of some examples of KDL in the wild (either v1, v2, or both):
114
117
115
118
## Implementations
116
119
117
- > [ !INFO ] There are two major versions of KDL. Different libraries may support one or the
120
+ > There are two major versions of KDL. Different libraries may support one or the
118
121
> other, or even provide a "hybrid" mode where both versions are attempted, since
119
122
> there's no data ambiguity between v1 and v2 documents.
120
123
@@ -131,7 +134,7 @@ of some examples of KDL in the wild (either v1, v2, or both):
131
134
| Go | [ kdl-go] ( https://github.com/sblinch/kdl-go ) | ✅ | ✖️ | |
132
135
| Haskell | [ Hustle] ( https://github.com/fuzzypixelz/Hustle ) | ✅ | ✖️ | |
133
136
| Java | [ kdl4j] ( https://github.com/hkolbeck/kdl4j ) | ✅ | ✖️ | |
134
- | JavaScript | [ @bgotink/kdl ] ( https://github.com/bgotink/kdl ) | ✅* | ✅ | Format/comment-preserving parser |
137
+ | JavaScript | [ @bgotink/kdl ] ( https://github.com/bgotink/kdl ) | ✅ | ✅ | Format/comment-preserving parser |
135
138
| JavaScript | [ @virtualstate/kdl ] ( https://github.com/virtualstate/kdl ) | ✅ | ✖️ | query only, JSX based |
136
139
| JavaScript | [ kdljs] ( https://github.com/kdl-org/kdljs ) | ✅ | ✖️ | |
137
140
| Lua | [ kdlua] ( https://github.com/danini-the-panini/kdlua ) | ✅ | ✖️ | |
@@ -142,13 +145,11 @@ of some examples of KDL in the wild (either v1, v2, or both):
142
145
| Python | [ cuddle] ( https://github.com/djmattyg007/python-cuddle ) | ✅ | ✖️ | |
143
146
| Python | [ kdl-py] ( https://github.com/tabatkins/kdlpy ) | ✅ | ✅ | |
144
147
| Ruby | [ kdl-rb] ( https://github.com/danini-the-panini/kdl-rb ) | ✅ | ✖️ | |
145
- | Rust | [ kdl-rs] ( https://github.com/kdl-org/kdl-rs ) | ✅* | ✅ | Format/comment-preserving parser |
146
- | Rust | [ knuffel ] ( https://crates.io/crates/knuffel / ) | ✅ | ✖️ | Serde-_ style_ derive macros (not actual Serde) |
148
+ | Rust | [ kdl-rs] ( https://github.com/kdl-org/kdl-rs ) | ✅ | ✅ | Format/comment-preserving parser |
149
+ | Rust | [ knus ] ( https://crates.io/crates/knus / ) | ✅ | ✖️ | Serde-_ style_ derive macros (not actual Serde) |
147
150
| Swift | [ kdl-swift] ( https://github.com/danini-the-panini/kdl-swift ) | ✅ | ✖️ | |
148
151
| XSLT | [ xml2kdl] ( https://github.com/Devasta/XML2KDL ) | ✅ | ✖️ | |
149
152
150
- \* Supported by earlier library version
151
-
152
153
</section >
153
154
154
155
<section class =" kdl-section " id =" editor-support " >
@@ -158,9 +159,11 @@ of some examples of KDL in the wild (either v1, v2, or both):
158
159
* [ Intellij IDEA] ( https://plugins.jetbrains.com/plugin/20136-kdl-document-language )
159
160
* [ Sublime Text] ( https://packagecontrol.io/packages/KDL )
160
161
* [ TreeSitter] ( https://github.com/tree-sitter-grammars/tree-sitter-kdl ) (neovim, among others)
161
- * [ VS Code] ( https://marketplace.visualstudio.com/items?itemName=kdl-org.kdl&ssr=false#review-details )
162
+ * [ VS Code] ( https://marketplace.visualstudio.com/items?itemName=kdl-org.kdl&ssr=false#review-details ) \*
162
163
* [ vim] ( https://github.com/imsnif/kdl.vim )
163
164
165
+ \* Supports KDL 2.0.0
166
+
164
167
</section >
165
168
166
169
<section class =" kdl-section " id =" overview " >
0 commit comments