Tab Atkins Jr
980eccecfb
typo ( #40 )
2020-12-17 20:17:39 -08:00
Kat Marchán
92bdcb1a4d
heh
2020-12-16 22:09:11 -08:00
Kat Marchán
13e203b928
spec out Values
2020-12-16 21:34:22 -08:00
Kat Marchán
0233d5557a
work on props and args
2020-12-16 20:09:27 -08:00
Kat Marchán
1bfbe78022
nicer formatting for unicode in grammar
2020-12-16 12:07:56 -08:00
Kat Marchán
5cf6a5a276
bring back bom-as-ws ( #34 )
...
* bring back bom-as-ws
* Update SPEC.md
Co-authored-by: Lily Ballard <lily@sb.org>
Co-authored-by: Lily Ballard <lily@sb.org>
2020-12-15 23:15:50 -08:00
Kat Marchán
32f38622ee
clarify guidance around file encoding and BOMs
2020-12-15 22:28:06 -08:00
Lily Ballard
f55ac50a89
Tighten up slashdash definition ( #33 )
...
Previously slashdash was allowed anywhere `ws` was, and could be
followed by any legal slashdashable token regardless of position. This
caused some ambiguous parsing and enabled constructions we really don't
want.
The new version simply allows a slashdash to preceed each commentable
token, thus restricting its use to locations where the token is
otherwise valid.
2020-12-15 22:00:17 -08:00
Lily Ballard
3c36d683ab
Remove VT from newline definition ( #32 )
...
The Unicode standard listed VT in its table in §5.8 but that was just a
table of acronyms, and VT was only listed because Microsoft Word used it
as a line separator. VT is not part of its recommendation for characters
to treat as line terminators.
2020-12-15 21:52:44 -08:00
Kat Marchán
870339c69e
unicode spacing support
2020-12-15 21:49:56 -08:00
Kat Marchán
fa60bc63e9
newline -> unicode newlines
...
Fixes : #30
2020-12-15 21:33:55 -08:00
Kat Marchán
3ed2f0aa27
be a bit more specific about ordering + add line continuations
2020-12-15 21:18:48 -08:00
Kat Marchán
951eed8f43
remove the 'values are just number-indexed properties' feature
2020-12-15 20:50:35 -08:00
Kat Marchán
b4067bdfad
write down some design principles to get started with
2020-12-15 18:46:40 -08:00
Kat Marchán
bb9562e4fc
add some fixmes to the grammar
2020-12-15 18:46:40 -08:00
Luna Graysen
18242be15e
Fix typo ( #26 )
2020-12-15 12:56:48 -08:00
Kat Marchán
0092ad84db
wip long-form spec stuff
2020-12-14 22:49:27 -08:00
Kat Marchán
cc45c98562
spec out slashdash comments
...
Fixes: https://github.com/kdl-org/kdl/issues/22
2020-12-14 20:54:04 -08:00
Kat Marchán
3cdd8437e3
more coc
2020-12-14 20:29:27 -08:00
Kat Marchán
de068d256d
license
2020-12-14 20:21:12 -08:00
Kat Marchán
9c1ab14549
link CC-BY-SA
2020-12-14 20:17:54 -08:00
Kat Marchán
06951d950b
Add CoC
2020-12-14 20:17:38 -08:00
Kat Marchán
5ba0213bd8
org got renamed
2020-12-14 19:02:58 -08:00
Kat Marchán
2e55140eb4
add implementations section;
2020-12-14 18:38:06 -08:00
Kat Marchán
01d722c6f1
remove rust code and other code-related bits
2020-12-14 18:37:10 -08:00
Kat Marchán
ef630148fc
added some examples
2020-12-14 17:40:29 -08:00
Lily Ballard
b5f8561b79
Replace ```ignore with ```text ( #21 )
...
Using the `ignore` marker makes `cargo test` think this is rust code
that should be ignored, which means it prints an "ignored" line in the
test output. It also makes `cargo doc --document-private-items` attempt
to colorize it as rust code. Marking this as `text` instead fixes both
issues.
2020-12-14 17:40:11 -08:00
Kat Marchán
775aa0fed0
BANISH THE COMMAS
2020-12-14 00:30:08 -08:00
Kat Marchán
0cbb505c97
deindent because why nnot
2020-12-14 00:21:54 -08:00
Kat Marchán
75c176ae54
switch to LF line endings
2020-12-14 00:07:14 -08:00
Kat Marchán
be237e7d69
add KDL example file
2020-12-14 00:06:10 -08:00
Kat Marchán
a8f3ef3c9f
add GH Action config
2020-12-14 00:05:51 -08:00
Kat Marchán
42564a7cf7
rename Node and NodeValue
2020-12-13 22:31:30 -08:00
Kat Marchán
e715b08800
strings done!
2020-12-13 22:25:55 -08:00
Kat Marchán
7ec15b7a04
reserve # so stuff like serde can use it for, say, indexing into values
2020-12-13 20:45:28 -08:00
Kat Marchán
6113d727d9
specced out string format
2020-12-13 20:38:31 -08:00
Kat Marchán
7af5ecd72c
note that spec is CC-BY-SA
2020-12-13 18:25:18 -08:00
Kat Marchán
4b4ffb71fd
0 is an integer (thanks, tef!)
2020-12-13 17:28:24 -08:00
Kat Marchán
948e983b69
lbr
2020-12-13 16:49:16 -08:00
Kat Marchán
842d1da3b9
numbers
2020-12-13 16:47:36 -08:00
Kat Marchán
54299642da
fix raw_string
2020-12-12 18:44:05 -08:00
Kat Marchán
a316f6d2ef
some progress + tests
2020-12-12 17:51:18 -08:00
Kat Marchán
100a736145
node, identifier, and comments done
2020-12-12 15:07:19 -08:00
Kat Marchán
950d5bfc85
fuck tabs
2020-12-12 12:33:27 -08:00
Kat Marchán
3296cc83a0
wip parser
2020-12-12 11:50:34 -08:00
Lars Willighagen
e6eb4f342b
docs(grammar): update grammar ( #9 )
...
See: https://github.com/zkat/kdl/discussions/8
2020-12-12 07:47:40 -08:00
Kat Marchán
95ee1478f9
bom is whitespace
2020-12-11 17:55:42 -08:00
Kat Marchán
573c614a85
more tweaks
2020-12-11 12:42:36 -08:00
Kat Marchán
e3254789d9
specify utf8 encoding
2020-12-11 12:33:58 -08:00
Kat Marchán
dd2516bcb6
add a grammar sketch
2020-12-11 12:32:14 -08:00