Skip to content

Commit 3b75764

Browse files
authored
Assorted spelling fixes. (#548)
1 parent f238372 commit 3b75764

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
* Around `=` for props (`x = 1`)
5757
* The BOM is now only allowed as the first character in a document. It was
5858
previously treated as generic whitespace.
59-
* Multi-line strings must now use `"""` as delimeters. The opening delimiter must be immediately followed by a newline, and the closing delimiter must be on its own line, prefixed by optional whitespace.
59+
* Multi-line strings must now use `"""` as delimiters. The opening delimiter must be immediately followed by a newline, and the closing delimiter must be on its own line, prefixed by optional whitespace.
6060
* Multi-line strings are now automatically dedented, according to the common
6161
whitespace matching the whitespace prefix of the closing line.
6262
* `.1`, `+.1` etc are no longer valid identifiers, to prevent confusion and

JSON-IN-KDL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Arguments and children can be mixed, if desired. The preceding example could als
4343

4444
Two otherwise-ambiguous cases must be manually annotated with an `(array)` type annotation:
4545

46-
* A single-element array (such as `[1]`) written using arguments (as `- 1`) would be ambiguous with a literal node.
46+
* A single-element array (such as `[1]`) written using arguments (as `- 1`) would be ambiguous with a literal node.
4747
To indicate this is an array, it must be written as `(array)- 1`
4848
(Or rewritten to use child nodes, like `- { - 1 }`.)
4949
* An empty array (JSON `[]`) must use the `(array)` type annotation, like `(array)-`.
@@ -57,7 +57,7 @@ JSON objects are represented in JiK as a node with any nodename, with zero or mo
5757
Properties can encode literals - for example, the JSON `{"foo": 1, "bar": true}` can be written in JiK as `- foo=1 bar=#true`.
5858

5959
Children can encode literals and/or nested arrays and objects,
60-
using the nodename for the item's key.
60+
using the nodename for the item's key.
6161

6262
For example, the JSON `{"foo": 1, "bar": [2, {"baz": 3}], "qux":4}` can be written in JiK as:
6363

@@ -98,7 +98,7 @@ The properties and/or children of the node represent the items of the object,
9898
with the property names and child nodenames as each item's key.
9999
All "keys" in an object node must be unique.
100100

101-
As with arrays, there are two ambiguous cases that must be manually annoted with the `(object)` type annotation:
101+
As with arrays, there are two ambiguous cases that must be manually annotated with the `(object)` type annotation:
102102

103103
* An object containing a single item whose key is "-" (like `{"-": 1}`) written using children (like `- { - 1 }`)
104104
would be ambiguous with an array node.
@@ -129,7 +129,7 @@ For simplicity, this document uses `-` for all such nodenames
129129
but this means it is possible to write a JiK object as meaningful KDL
130130
and embed it within a larger KDL document.
131131

132-
Here's a fictitious example describing an HTTP request with a JSON body,
132+
Here's a fictitious example describing an HTTP request with a JSON body,
133133
where the `body` node is an embedded JiK node
134134
that nevertheless reads as fairly natural KDL.
135135

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ some restrictions about data representation. KDL is very similar in many ways, e
410410
seemed like they could be improved.
411411
* There is only one "number" type. KDL does not prescribe representations, but
412412
does have keywords for NaN, infinity, and negative infinity if decimal numbers
413-
are intended to be represtented as IEEE754 floats.
413+
are intended to be represented as IEEE754 floats.
414414
* Slashdash (`/-`) comments are great and useful!
415415
* Quoteless "identifier" strings (e.g. `node foo=bar`, vs `node foo="bar"`).
416416
* KDL does not have first-class date or binary data types. Instead, it

SCHEMA-SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ and property names when the `node-names` or `prop-names` options are activated.
268268

269269
* `tag`: [Validations](#validation-nodes) to apply to the tag of the value.
270270
* `type`: A string denoting the type of the property value.
271-
* `enum`: A specific list of allowed values for this property. May be heterogenous as long as it agrees with the `type`, if specified.
271+
* `enum`: A specific list of allowed values for this property. May be heterogeneous as long as it agrees with the `type`, if specified.
272272

273273
#### String validations
274274

draft-marchan-kdl2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This is the formal specification for KDL, including the intended data model and
4040
the grammar.
4141

4242
This document describes an unreleased minor change to KDL. For the latest
43-
oficial version of the language, see https://kdl.dev/spec.
43+
official version of the language, see https://kdl.dev/spec.
4444

4545
<!--
4646
This document describes KDL version KDL 2.0.0. It was released on 2024-12-21. It
@@ -530,7 +530,7 @@ contain (if any). They do not have to start with the same whitespace prefix
530530
that other lines do; all characters on the line are ignored.
531531

532532
Multi-line Strings that do not immediately start with a Newline and whose final
533-
`"""` is not preceeded by optional whitespace and a Newline are illegal. This
533+
`"""` is not preceded by optional whitespace and a Newline are illegal. This
534534
also means that `"""` may not be used for a single-line String (e.g.
535535
`"""foo"""`).
536536

@@ -802,7 +802,7 @@ They must be written with at least one integer digit, like `0.1`.
802802

803803
### Keyword Numbers
804804

805-
There are three special "keyword" numbers included in KDL to accomodate the
805+
There are three special "keyword" numbers included in KDL to accommodate the
806806
widespread use of [IEEE 754](https://en.wikipedia.org/wiki/IEEE_754) floats:
807807

808808
- `#inf` - floating point positive infinity.

0 commit comments

Comments
 (0)