Andrew Kelley
54231e832b
Merge pull request #3648 from xackus/json-unescape
...
breaking: JSON unescape
2019-12-29 18:31:10 -05:00
Robin Voetter
4b4fbe3887
Replace @typeOf with @TypeOf in all zig source
...
This change was mostly made with `zig fmt` and this also modified some whitespace. Note that in some files, `zig fmt` produced incorrect code, so the change was made manually.
2019-12-10 11:09:41 -05:00
Andrew Kelley
8b2622cdd5
std.fmt.format: tuple parameter instead of var args
2019-12-08 22:53:51 -05:00
xackus
6d3b95a708
Stricter tests for non-streaming parser
2019-11-11 23:41:53 +01:00
xackus
f9b7d6d75d
Fix bugs in JSON parser
...
Make comments into documentation where appropriate
2019-11-11 23:25:54 +01:00
xackus
371747d8fb
json: surrogate pair support
...
test json.Parser with tests used for json.Streaming parser
(some don't pass yet)
2019-11-11 22:06:00 +01:00
Sebastian Keller
f81f36e2ff
std.json.Value: added dumpStream(), utilize WriteStream for dump()
2019-11-06 18:21:52 -05:00
Sebastian Keller
78b00c0b51
Added test for 'emitJson'
2019-10-27 20:49:42 +01:00
Sebastian Keller
ac705a7bb6
Unified public api
2019-10-27 20:15:48 +01:00
Sebastian Keller
6257b4c596
Shortened switch statement
2019-10-24 22:44:12 +02:00
Sebastian Keller
b82b6a7093
Added 'writeJson' to write_stream.zig:
...
Small addition to make writing a json value easier
2019-10-24 14:23:36 +02:00
Andrew Kelley
30a555eed4
merge dumps tool: merging ast nodes
...
-fgenerate-docs is replaced ith -femit-docs
-fno-emit-bin is added to prevent outputting binary
2019-10-11 18:13:24 -04:00
Andrew Kelley
01b2c291d5
miscellaneous improvements to generated docs
...
* introduce std.json.WriteStream API for writing json
data to a stream
* add WIP tools/merge_anal_dumps.zig for merging multiple semantic
analysis dumps into one. See #3028
* add std.json.Array, improves generated docs
* add test for `std.process.argsAlloc`, improves test coverage and
generated docs
2019-10-10 23:25:40 -04:00
Andrew Kelley
ed36dbbd9c
mv std/ lib/
...
that's all this commit does. further commits will fix cli flags and
such.
see #2221
2019-09-25 23:35:41 -04:00