desttinghim commented on issue ziglang/zig#31424 2026年06月01日 23:03:14 +02:00
A binary compiled with -target x86-windows.xp does not run on Windows XP with Zig-provided entry point

I am trying to get zig working on older versions of windows and it has been more difficult than I expected to get it working. Just now I managed to get an exe that should work on xp, but I...

desttinghim commented on issue desttinghim/zig-kdl#10 2026年05月05日 21:50:42 +02:00
[Feature] Expose source location (line/column) on parsed tokens

I think the core library should work with either 0.15.2 or 0.16.0. I just pushed some changes to handle some standard library renames.

desttinghim pushed to main at desttinghim/zig-kdl 2026年05月05日 21:46:25 +02:00
22fa7655d7 fix(build): specify 0.15.2 as minimum zig version
desttinghim pushed to main at desttinghim/zig-kdl 2026年05月05日 21:43:51 +02:00
96ea03470b fix(string): make compatible with 0.15.2
cdd25c3765 feat(spec): cli arguments
5916871c6e fix(test): ungroup newlines
13a7f1ba9d fix(spec): number formatting
Compare 4 commits »
desttinghim commented on issue desttinghim/zig-kdl#10 2026年05月05日 20:58:18 +02:00
[Feature] Expose source location (line/column) on parsed tokens

I changed from accepting a reader to taking a slice so I could calculate the line/column from the offset 🙂. My preference is for recalculating the line/column since it's less likely for the...

desttinghim opened issue desttinghim/zig-kdl#9 2026年05月02日 22:18:50 +02:00
Automate spec tests
desttinghim opened issue desttinghim/zig-kdl#8 2026年05月02日 22:13:40 +02:00
Create a release
desttinghim commented on issue desttinghim/zig-kdl#7 2026年05月02日 22:05:49 +02:00
'\n' / '\t' escape sequences in quoted strings produce '.invalid' token

Thank you for the bug report! I believe this should be fixed by commit 632e88bf

desttinghim pushed to main at desttinghim/zig-kdl 2026年05月01日 06:34:46 +02:00
64e3625e09 fix(newlines): improve newline handling
554b20aafd feat(spec): indent child nodes
6a3c18fd43 fix(spec): number parsing
d12214b341 fix(parser): expect newline after continuation
d38af8d4c6 fix(spec): print newlines
Compare 8 commits »
desttinghim pushed to main at desttinghim/zig-kdl 2026年04月27日 03:18:39 +02:00
34c40e2093 feat(spec): adjust test runner output
78b3e67c4b feat(parser): Add format function for Value, Property, Event
632e88bf51 fix(tokenizer): improve escape handling
f20a0b8631 fix: mark tokens after child slashdash as invalid
Compare 4 commits »
desttinghim pushed to main at desttinghim/zig-kdl 2026年04月26日 02:28:31 +02:00
9d1e6bd988 fix(tokenizer): out of bounds
desttinghim pushed to main at desttinghim/zig-kdl 2026年04月26日 02:20:25 +02:00
5514abf888 fix(tokenizer): handle raw strings better
f19425366d fix(string): makeInlineString quote strings with hashes
0cc4657ba8 fix(parser): return invalid for slashdash right before node ends
d1d5c9fc37 fix(tokenizer): make some ends to identifiers invalid
5dfcfa0945 feat(spec): increase precision of parsed numbers
Compare 11 commits »
desttinghim pushed to main at desttinghim/zig-kdl 2026年04月25日 23:28:43 +02:00
c4e94524ff fix(tokenizer): return invalid token when '#' is found in identifier
93376a0957 feat(spec): parse expecting invalid event for "_fail" files
Compare 2 commits »
desttinghim closed issue desttinghim/zig-kdl#6 2026年04月25日 23:18:15 +02:00
stderr_file is assigned to std.Io.File.stdout()
desttinghim commented on issue desttinghim/zig-kdl#6 2026年04月25日 23:18:14 +02:00
stderr_file is assigned to std.Io.File.stdout()

Fixed in 5be809953df7787774764863cdd9d5d06aac7cbc

desttinghim pushed to main at desttinghim/zig-kdl 2026年04月25日 23:14:23 +02:00
5be809953d fix: back stderr_file with stderr, not stdout
31d82b9e9f feat(spec): track when parse has a memory leak
e6d8a0603a test(parser): test duplicate property parsing
83bfb1c13e fix(parser): prevent infinite loop
28816724d6 fix(parser): string allocation/deallocation
Compare 8 commits »
desttinghim commented on issue desttinghim/zig-kdl#6 2026年04月25日 10:06:42 +02:00
stderr_file is assigned to std.Io.File.stdout()

You are correct, this is a bug. I'll fix that in the morning unless you'd like to submit a PR 🙂

desttinghim pushed to main at desttinghim/zig-kdl 2026年04月22日 09:58:31 +02:00
6b681b4596 feat(parser): add node iterator
0725d14516 feat(spec): print diff on fail
Compare 2 commits »
desttinghim pushed to main at desttinghim/zig-kdl 2026年04月19日 11:57:39 +02:00
a0d166a271 fix(spec): run all tests without panic
a5f9d6867a feat(parser): handle slashdash
4c1e9ccd44 feat(parser): make parser streaming again
4e825bf406 fix(tokenizer): escapes in multiline strings
4e24906e36 fix(spec): compile after rewrite
Compare 6 commits »