Nigel Tao
af75772cc2
Have std/cbor parse byte strings
2020-07-18 17:27:11 +10:00
Nigel Tao
f52e081f1e
Add WUFFS_BASE__X64__BYTE_LENGTH__MAX_INCL comment
2020-07-16 21:30:01 +10:00
Nigel Tao
664f8431d2
Have std/cbor parse negative integers
2020-07-16 21:25:14 +10:00
Nigel Tao
fca9a36252
Shrink cbor.decoder.decode_tokens coroutine state
2020-07-15 14:16:42 +10:00
Nigel Tao
31674f9bd2
Let skip_u32_fast take non-constant arguments
2020-07-15 14:10:43 +10:00
Nigel Tao
4e193599ac
Add std/cbor
2020-07-15 14:08:37 +10:00
Nigel Tao
e917884d6c
Add wuffs_base__base_16__encodeN
2020-07-14 16:35:13 +10:00
Nigel Tao
168f60a781
Add example/jsonptr -output-format=cbor flag
2020-07-14 15:57:05 +10:00
Nigel Tao
cd183f92b0
Fix jsonptr start_of_token_chain initial value
2020-07-14 12:11:05 +10:00
Nigel Tao
ecadf72e6b
Rename some example/json* flags
2020-07-13 08:25:59 +10:00
Nigel Tao
56d9096f81
Fix -Werror=conversion in from_f64_to_u{16,32}
2020-07-12 21:11:49 +10:00
Nigel Tao
a3931d5215
Rename IEEE 754 from_f64_to_u{16,32} functions
2020-07-12 21:06:44 +10:00
Nigel Tao
0d90b270ea
Reorganize internal/cgen/base/strconv-public.h
2020-07-12 17:03:53 +10:00
Nigel Tao
7bf7cf28b9
Add IEEE 754 from_f64_to_u{16,32} functions
2020-07-12 17:01:14 +10:00
Nigel Tao
0899b82c42
Add IEEE 754 from_u{16,32}_to_f64 functions
2020-07-12 13:23:04 +10:00
Nigel Tao
4d449dc663
Rename ieee_754_bit_representation functions
2020-07-12 11:00:47 +10:00
Nigel Tao
b14e3eae9f
Have dumbindent preserve indent on the first line
2020-07-12 09:29:48 +10:00
Nigel Tao
229a0c5af4
wuffs gen -version=0.3.0-alpha.10
2020-07-11 13:18:58 +10:00
Nigel Tao
0a9075f81c
Move test_wuffs_strconv_parse_number_f64_options
2020-07-11 13:17:58 +10:00
Nigel Tao
37bc8cdaa5
Refactor parse_number_f64 related tests
2020-07-11 13:16:00 +10:00
Nigel Tao
c5c9885db4
Add PARSE_NUMBER_XXX__ALLOW_UNDERSCORES
2020-07-11 13:10:14 +10:00
Nigel Tao
e82bc8ec7b
Add PARSE_NUMBER_XXX__ALLOW_MULTIPLE_LEADING_Z...
2020-07-11 12:57:25 +10:00
Nigel Tao
4d61a056e0
Add PARSE_NUMBER_FXX__REJECT_INF_AND_NAN
2020-07-11 12:34:40 +10:00
Nigel Tao
e0c5de9d8d
Add PARSE_NUMBER_FXX__DECIMAL_SEPARATOR_IS_A_COMMA
2020-07-11 12:14:39 +10:00
Nigel Tao
fcb6416c16
Add script/extract-cbor-rfc-7049-examples.go
2020-07-10 22:56:47 +10:00
Nigel Tao
4ed17ada9f
wuffs gen -version=0.3.0-alpha.9
2020-07-10 20:35:06 +10:00
Nigel Tao
e722bb095c
Fix #ifdef guarding the use of __uint128_t
2020-07-10 20:33:09 +10:00
Nigel Tao
bfd0655944
wuffs gen -version=0.3.0-alpha.8
2020-07-10 12:52:53 +10:00
Nigel Tao
f9a90f1c5e
Add explicit cast to size_t in base_64 codec
2020-07-10 12:45:16 +10:00
Nigel Tao
bff01d7ea8
Add comment linking to previous commit's numbers
2020-07-10 12:15:09 +10:00
Nigel Tao
18449ad75d
Optimize 128-bit muls in parse_number_f64_eisel
...
Processing citylots.json from github.com/zemirco/sf-city-lots-json
$ cc -O3 script/process-json-numbers.c
$ time ./a.out --parse-number-f64 < citylots.json
gcc 9.3 Before/After
real 0m0.638s
real 0m0.609s
clang 9.0 Before/After
real 0m0.692s
real 0m0.685s
x86_64 Broadwell desktop CPU.
2020-07-10 12:11:26 +10:00
Nigel Tao
74d4af66e4
Refactor 128-bit muls in parse_number_f64_eisel
2020-07-10 11:27:17 +10:00
Nigel Tao
15cc8502b1
Add token enums for base-32 codecs
2020-07-09 21:23:38 +10:00
Nigel Tao
ca55cdbef0
Rename {f64,i64}conv to {float,int}conv
2020-07-09 21:15:36 +10:00
Nigel Tao
e0ca5a4c3c
Have base_16 codec return a transform__output
2020-07-09 21:09:19 +10:00
Nigel Tao
309a5ba231
Add base_64 codec to wuffs_base
2020-07-09 20:42:17 +10:00
Nigel Tao
c766bb72d6
Have example/jsonetc read and write extra commas
2020-07-09 13:15:36 +10:00
Nigel Tao
540a3b51e0
Run "wuffs gen" missed for b15a0fc3
...
Commit b15a0fc349 is "Add more
parse_number_f64_eisel comments". I forgot to run "wuffs gen" after
updating a comment.
2020-07-09 11:18:49 +10:00
Nigel Tao
27766aedf9
Let process-json-numbers use fast_double_parser
2020-07-09 10:59:54 +10:00
Nigel Tao
b15a0fc349
Add more parse_number_f64_eisel comments
2020-07-08 10:52:38 +10:00
Nigel Tao
b899c4091c
wuffs gen -version=0.3.0-alpha.7
2020-07-07 23:30:38 +10:00
Nigel Tao
84bb3afd87
Lower json.DECODER_NUMBER_LENGTH_MAX_INCL to 99
...
Commit b9f69264a0 "Raise
json.DECODER_NUMBER_LENGTH_MAX_INCL to 2047" might have regressed the
std/json benchmarks.
2020-07-07 23:29:30 +10:00
Nigel Tao
12a8c7598b
wuffs gen -version=0.3.0-alpha.6
2020-07-07 23:18:38 +10:00
Nigel Tao
b9f69264a0
Raise json.DECODER_NUMBER_LENGTH_MAX_INCL to 2047
2020-07-07 23:08:11 +10:00
Nigel Tao
2a7e1ed175
Factor f64conv-submodule.c into code and data
2020-07-07 21:50:06 +10:00
Nigel Tao
6365fa30f4
Tweak WUFFS_BASE__RENDER_NUMBER_ETC bit values
2020-07-07 21:42:09 +10:00
Nigel Tao
6b7ce30e32
Add wuffs_base__parse_number_xxx options arg
2020-07-07 16:19:46 +10:00
Nigel Tao
832edf7227
Remove the medium_prec_bin type
...
It's obsolete now that we have an Eisel algorithm implementation.
Binary size, before:
29416 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
29688 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
31792 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
31792 gen/lib/c/gcc-static/wuffs-base-f64conv.o
After:
28744 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
28968 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
31176 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
31176 gen/lib/c/gcc-static/wuffs-base-f64conv.o
Processing citylots.json from github.com/zemirco/sf-city-lots-json
$ g++ -O3 script/process-json-numbers.c
$ time ./a.out -parse-number-f64 < citylots.json
Before/After:
real 0m1.031s
real 0m0.975s
$ time ./a.out < citylots.json
Before/After:
real 0m0.807s
real 0m0.729s
2020-07-07 16:07:35 +10:00
Nigel Tao
86093c8194
Have parse_number_f64 use the Eisel algorithm
...
The algorithm is discussed at
https://lemire.me/blog/2020/03/10/fast-float-parsing-in-practice/
----
Binary size, before:
27848 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
28040 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
30392 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
30392 gen/lib/c/gcc-static/wuffs-base-f64conv.o
After:
29416 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
29688 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
31792 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
31792 gen/lib/c/gcc-static/wuffs-base-f64conv.o
The binary size difference does not account for the powers-of-10 table,
which was expanded in a previous commit in anticipation of this one. A
future commit will also remove some of the other f64 parser code used
before implementing the Eisel algorithm.
----
Processing citylots.json from github.com/zemirco/sf-city-lots-json
$ g++ -O3 script/process-json-numbers.c
$ time ./a.out -parse-number-f64 < citylots.json
Before/After:
real 0m1.231s
real 0m1.031s
The difference with and without -parse-number-f64 measures how much time
is spent in the parse_number_f64 function. Before: 424ms, after: 224ms.
$ time ./a.out < citylots.json
real 0m0.807s
Similarly, for canada.json from github.com/miloyip/nativejson-benchmark
$ time ./a.out -parse-number-f64 < canada.json
Before/After:
real 0m0.023s
real 0m0.017s
$ time ./a.out < canada.json
real 0m0.013s
Time spent in parse_number_f64, before: 10ms, after: 4ms.
----
name old time/op new time/op delta
wuffs_strconv_parse_number_f64_1_lsh53_add0/clang5 77.0ns ± 0% 37.0ns ± 0% -51.95% (p=0.029 n=4+4)
wuffs_strconv_parse_number_f64_1_lsh53_add1/clang5 690ns ± 0% 725ns ± 2% +4.95% (p=0.008 n=5+5)
wuffs_strconv_parse_number_f64_pi_long/clang5 92.0ns ± 0% 136.0ns ± 2% +47.83% (p=0.016 n=4+5)
wuffs_strconv_parse_number_f64_pi_short/clang5 35.0ns ± 3% 18.0ns ± 0% -48.57% (p=0.008 n=5+5)
wuffs_strconv_parse_number_f64_1_lsh53_add0/gcc7 67.0ns ± 0% 34.0ns ± 0% -49.25% (p=0.000 n=5+4)
wuffs_strconv_parse_number_f64_1_lsh53_add1/gcc7 712ns ± 0% 760ns ± 2% +6.72% (p=0.008 n=5+5)
wuffs_strconv_parse_number_f64_pi_long/gcc7 88.4ns ± 1% 116.2ns ± 3% +31.45% (p=0.008 n=5+5)
wuffs_strconv_parse_number_f64_pi_short/gcc7 32.6ns ± 2% 21.4ns ± 7% -34.36% (p=0.008 n=5+5)
2020-07-07 15:27:51 +10:00
Nigel Tao
1bc98b6035
Fix script/print-mpb-powers-of-10.go with -detail
2020-07-06 17:01:41 +10:00
Nigel Tao
54e20636e8
Refactor f64conv's wuffs_base__parse_number_f64
...
Binary size, before:
27704 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
27896 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
29120 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
29120 gen/lib/c/gcc-static/wuffs-base-f64conv.o
After:
27848 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
28040 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
30392 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
30392 gen/lib/c/gcc-static/wuffs-base-f64conv.o
$ g++ -O3 script/process-json-numbers.c
$ time ./a.out -parse-number-f64 < citylots.json
Before/After:
real 0m1.306s
real 0m1.231s
citylots.json is from github.com/zemirco/sf-city-lots-json
name old time/op new time/op delta
wuffs_strconv_parse_number_f64_1_lsh53_add0/clang5 73.2ns ± 2% 77.0ns ± 0% +5.19% (p=0.016 n=5+4)
wuffs_strconv_parse_number_f64_1_lsh53_add1/clang5 688ns ± 0% 690ns ± 0% ~ (p=0.079 n=5+5)
wuffs_strconv_parse_number_f64_pi_long/clang5 113ns ± 1% 92ns ± 0% -18.44% (p=0.000 n=5+4)
wuffs_strconv_parse_number_f64_pi_short/clang5 35.4ns ± 7% 35.0ns ± 3% ~ (p=1.000 n=5+5)
wuffs_strconv_parse_number_f64_1_lsh53_add0/gcc7 67.0ns ± 0% 67.0ns ± 0% ~ (all equal)
wuffs_strconv_parse_number_f64_1_lsh53_add1/gcc7 721ns ± 0% 712ns ± 0% -1.30% (p=0.008 n=5+5)
wuffs_strconv_parse_number_f64_pi_long/gcc7 90.4ns ± 1% 88.4ns ± 1% -2.21% (p=0.008 n=5+5)
wuffs_strconv_parse_number_f64_pi_short/gcc7 32.2ns ± 6% 32.6ns ± 2% ~ (p=0.730 n=5+5)
2020-07-06 11:45:51 +10:00
Nigel Tao
177aa7f0c6
Optimize f64conv's high_prec_dec__parse
...
Binary size, before:
27336 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
27528 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
28856 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
28856 gen/lib/c/gcc-static/wuffs-base-f64conv.o
After:
27704 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
27896 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
29120 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
29120 gen/lib/c/gcc-static/wuffs-base-f64conv.o
$ g++ -O3 script/process-json-numbers.c
$ time ./a.out -parse-number-f64 < citylots.json
Before/After:
real 0m1.421s
real 0m1.306s
citylots.json is from github.com/zemirco/sf-city-lots-json
name old time/op new time/op delta
wuffs_strconv_parse_number_f64_1_lsh53_add0/clang5 99.0ns ± 0% 73.2ns ± 2% -26.06% (p=0.000 n=4+5)
wuffs_strconv_parse_number_f64_1_lsh53_add1/clang5 744ns ± 1% 688ns ± 0% -7.42% (p=0.008 n=5+5)
wuffs_strconv_parse_number_f64_pi_long/clang5 161ns ± 0% 113ns ± 1% -29.76% (p=0.008 n=5+5)
wuffs_strconv_parse_number_f64_pi_short/clang5 48.0ns ± 0% 35.4ns ± 7% -26.25% (p=0.016 n=4+5)
wuffs_strconv_parse_number_f64_1_lsh53_add0/gcc7 94.8ns ± 1% 67.0ns ± 0% -29.32% (p=0.000 n=5+4)
wuffs_strconv_parse_number_f64_1_lsh53_add1/gcc7 747ns ± 1% 721ns ± 0% -3.51% (p=0.008 n=5+5)
wuffs_strconv_parse_number_f64_pi_long/gcc7 161ns ± 0% 90ns ± 1% -43.99% (p=0.008 n=5+5)
wuffs_strconv_parse_number_f64_pi_short/gcc7 48.4ns ± 5% 32.2ns ± 6% -33.47% (p=0.008 n=5+5)
2020-07-06 11:14:35 +10:00
Nigel Tao
267bfc8176
Deepen parse_number_f64's powers_of_10 table
...
Deepen means changing the mantissa from 64 bits to 128 bits. We also
adjust the exponent bias, in anticipation of a future commit.
Binary size, before:
22232 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
22408 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
23816 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
23816 gen/lib/c/gcc-static/wuffs-base-f64conv.o
After:
27336 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
27528 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
28856 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
28856 gen/lib/c/gcc-static/wuffs-base-f64conv.o
$ g++ -O3 script/process-json-numbers.c
$ time ./a.out -parse-number-f64 < citylots.json
Before/After:
real 0m1.432s
real 0m1.421s
citylots.json is from github.com/zemirco/sf-city-lots-json
2020-07-05 19:03:37 +10:00
Nigel Tao
53da68fe4b
Refine parse_number_f64's powers_of_10 table
...
Refine means changing the base-10 exponents from "-348 ..= +340 stepping
by 8" to "-326 ..= +310 stepping by 1".
Binary size, before:
15992 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
16232 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
17384 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
17384 gen/lib/c/gcc-static/wuffs-base-f64conv.o
After:
22232 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
22408 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
23816 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
23816 gen/lib/c/gcc-static/wuffs-base-f64conv.o
$ g++ -O3 script/process-json-numbers.c
$ time ./a.out -parse-number-f64 < citylots.json
Before/After:
real 0m1.455s
real 0m1.432s
citylots.json is from github.com/zemirco/sf-city-lots-json
2020-07-05 13:58:49 +10:00
Nigel Tao
fc1b33a0ff
Remove redundant if in MPB__parse_number_f64
2020-07-03 23:47:51 +10:00
Nigel Tao
19b3ce24a3
Optimize high_prec_dec__round_just_enough
...
name old time/op new time/op delta
wuffs_strconv_render_number_f64_just_enough_fractions/clang5 56.4µs ± 1% 56.3µs ± 1% ~ (p=1.000 n=5+5)
wuffs_strconv_render_number_f64_just_enough_small_integers/clang5 4.12µs ± 2% 1.00µs ± 1% -75.65% (p=0.008 n=5+5)
wuffs_strconv_render_number_f64_just_enough_fractions/gcc7 54.3µs ± 0% 54.2µs ± 0% ~ (p=0.151 n=5+5)
wuffs_strconv_render_number_f64_just_enough_small_integers/gcc7 4.16µs ± 0% 1.01µs ± 0% -75.77% (p=0.000 n=4+5)
2020-07-03 23:44:37 +10:00
Nigel Tao
58678cb342
Add wuffs_base__render_number_f64 benches
2020-07-03 23:16:53 +10:00
Nigel Tao
b9afc26387
Add TOKEN__VBD__STRING__CHAIN_ETC
2020-07-03 13:36:13 +10:00
Nigel Tao
0eee231ce6
Add script/process-json-numbers.c
2020-07-03 12:48:37 +10:00
Nigel Tao
a6031b6d2e
Add wuffs_base__utf_8__next_from_end
2020-07-02 15:08:54 +10:00
Nigel Tao
991e1b2667
wuffs gen -version=0.3.0-alpha.5
2020-07-01 12:22:17 +10:00
Nigel Tao
c94ccef400
Make status and vtable names arrays-of-char
...
Binary size, before:
176288 gen/lib/c/clang-5.0-dynamic/libwuffs.so
6216 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
216480 gen/lib/c/clang-5.0-static/libwuffs.a
6144 gen/lib/c/clang-5.0-static/wuffs-base-core.o
196568 gen/lib/c/gcc-dynamic/libwuffs.so
6736 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
246432 gen/lib/c/gcc-static/libwuffs.a
6736 gen/lib/c/gcc-static/wuffs-base-core.o
After:
172192 gen/lib/c/clang-5.0-dynamic/libwuffs.so
5192 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
214400 gen/lib/c/clang-5.0-static/libwuffs.a
5192 gen/lib/c/clang-5.0-static/wuffs-base-core.o
192472 gen/lib/c/gcc-dynamic/libwuffs.so
5656 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
240752 gen/lib/c/gcc-static/libwuffs.a
5656 gen/lib/c/gcc-static/wuffs-base-core.o
2020-07-01 12:16:14 +10:00
Nigel Tao
89ceb9fabc
Add wuffs_base__render_number_f64
2020-07-01 12:03:20 +10:00
Nigel Tao
03f85920be
Make render_number_etc conversions explicit
2020-06-22 13:56:57 +10:00
Nigel Tao
ec5200cb99
Make status and vtable names const pointers
2020-06-22 13:52:29 +10:00
Nigel Tao
668e92cb81
Spin out base-utf8 sub-module
...
Before:
8224 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
8200 gen/lib/c/clang-5.0-static/wuffs-base-core.o
8704 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
8920 gen/lib/c/gcc-static/wuffs-base-core.o
After:
6216 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
2736 gen/lib/c/clang-5.0-dynamic/wuffs-base-utf8.lo
6216 gen/lib/c/clang-5.0-static/wuffs-base-core.o
2712 gen/lib/c/clang-5.0-static/wuffs-base-utf8.o
6728 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
3008 gen/lib/c/gcc-dynamic/wuffs-base-utf8.lo
6728 gen/lib/c/gcc-static/wuffs-base-core.o
3224 gen/lib/c/gcc-static/wuffs-base-utf8.o
2020-06-22 13:40:03 +10:00
Nigel Tao
22a09b4133
Spin out base-i64conv sub-module
...
Before:
12624 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
13032 gen/lib/c/clang-5.0-static/wuffs-base-core.o
12184 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
12408 gen/lib/c/gcc-static/wuffs-base-core.o
After:
8224 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
5608 gen/lib/c/clang-5.0-dynamic/wuffs-base-i64conv.lo
8200 gen/lib/c/clang-5.0-static/wuffs-base-core.o
6032 gen/lib/c/clang-5.0-static/wuffs-base-i64conv.o
8704 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
4952 gen/lib/c/gcc-dynamic/wuffs-base-i64conv.lo
8920 gen/lib/c/gcc-static/wuffs-base-core.o
4912 gen/lib/c/gcc-static/wuffs-base-i64conv.o
2020-06-21 22:17:42 +10:00
Nigel Tao
f5fbc5d8e7
Rename initialize_flags argument
2020-06-21 22:02:20 +10:00
Nigel Tao
d40a386211
Add wuffs_base__render_number_{i,u}64
2020-06-21 21:57:48 +10:00
Nigel Tao
00cc8a50aa
wuffs gen -version=0.3.0-alpha.4
2020-06-17 21:27:28 +10:00
Nigel Tao
d377dcaea8
Don't use #warning (a GCC notion) with MSVC
2020-06-17 21:24:14 +10:00
Nigel Tao
824b87bb86
Roll back cb198413 re MSVC __cplusplus macro
...
Commit cb19841358 "Work around MSVC's
__cplusplus regarding C++11" did not fix compiler errors with older MSVC
versions as hoped.
2020-06-17 21:18:36 +10:00
Nigel Tao
025f9c208e
Roll back 196920ee unique_ptr constructors
...
Commit 196920ee91 "Spell out
std::unique_ptr constructor calls" did not fix compiler errors with
older MSVC versions as hoped.
2020-06-17 21:12:07 +10:00
Nigel Tao
a7418b76fc
wuffs gen -version=0.3.0-alpha.3
2020-06-17 15:57:23 +10:00
Nigel Tao
196920ee91
Spell out std::unique_ptr constructor calls
2020-06-17 15:56:46 +10:00
Nigel Tao
c8026c91ff
wuffs gen -version=0.3.0-alpha.2
2020-06-17 06:46:00 +10:00
Nigel Tao
cb19841358
Work around MSVC's __cplusplus regarding C++11
2020-06-17 06:39:45 +10:00
Nigel Tao
635b502649
Tweak lib/dumbindent's comments
2020-06-16 22:34:36 +10:00
Nigel Tao
ab580e7696
Add more comments on wuffsfmt's -l and -w flags
2020-06-16 14:27:13 +10:00
Nigel Tao
c9b50c0be7
Add links to dumbindent blog post
2020-06-16 14:25:46 +10:00
Nigel Tao
c29853ffef
Add links to other convert-to-nia implementations
2020-06-16 14:24:00 +10:00
Nigel Tao
30793928d0
wuffs gen -version=0.3.0-alpha.1
2020-06-11 23:02:02 +10:00
Nigel Tao
533b84b3b1
Simplify WUFFS_VERSION_ETC macros
2020-06-11 23:01:50 +10:00
Nigel Tao
82233fe06c
Fix dumbindent comment typo
2020-06-10 22:52:49 +10:00
Nigel Tao
f89d2ef4ab
Update doc/note/auto-formatting.md comparison link
2020-06-10 22:43:51 +10:00
Nigel Tao
f935120aa6
Tweak how dumbindent handles #preproc lines
2020-06-10 22:37:54 +10:00
Nigel Tao
b1ea22045a
Stop dumbindent adding or removing line breaks
2020-06-10 21:51:25 +10:00
Nigel Tao
b82396a3c6
Stop dumbindent dropping blank lines near braces
2020-06-10 21:06:06 +10:00
Nigel Tao
58c0862c50
Stop dumbindent collapsing consecutive blank lines
2020-06-10 12:22:41 +10:00
Nigel Tao
ed48514f30
Remove ast.NewExpr statusPkg arg
2020-06-10 12:05:48 +10:00
Nigel Tao
7dc73a856a
Remove unused checker.exprConstValue method
2020-06-10 11:43:46 +10:00
Nigel Tao
74d291453d
Un-special-case parsing base."etc"
2020-06-10 11:34:56 +10:00
Nigel Tao
4e2d0c1e5f
Cgen explicit type cast for (CONSTANT >> x)
2020-06-10 10:32:13 +10:00
Nigel Tao
66b0a12b6c
Add json.EXPECT_ETC constants
2020-06-09 23:50:35 +10:00
Nigel Tao
3d31ac03eb
Add base.TOKEN__ETC constants
2020-06-09 23:34:42 +10:00
Nigel Tao
8bd30e912c
Tweak dumbindent.breakAfterBrace
2020-06-09 22:45:40 +10:00
Nigel Tao
63c12cad17
Have dumbindent catch "namespace foo {".
2020-06-09 22:08:39 +10:00
Nigel Tao
3b1d3d0a39
Remove check.Error.OtherFoo fields
2020-06-09 17:00:24 +10:00
Nigel Tao
6f43ab4b92
Reject duplicate top level names
2020-06-09 16:59:43 +10:00
Nigel Tao
1dae694e00
Update doc/note/auto-formatting.md comparison link
2020-06-09 15:59:46 +10:00