Commit Graph
42 Commits
Author SHA1 Message Date
Nigel Tao 496e88b6c5 Remove wuffs_base__token__link_prev 2020-04-09 22:11:08 +10:00
Nigel Tao 2ef3999d6d Remove use of wuffs_base__token__link_prev 2020-04-09 17:24:39 +10:00
Nigel Tao 721190afff Have example C++ program check for -std=c++11 2020-04-03 22:25:21 +11:00
Nigel Tao 94440cf6ff Rename example/json* -o flag 2020-04-02 22:28:24 +11:00
Nigel Tao 462f86675d Add an "extended token" concept 2020-04-02 11:20:45 +11:00
Nigel Tao d60815c93f Have example/* global variable names start with g_ 2020-03-26 14:32:35 +11:00
Nigel Tao f3146c2ea9 Add base.token_decoder.workbuf_len 2020-03-26 08:47:42 +11:00
Nigel Tao 4b186b0b6b Add std/json quirk_allow_trailing_etc 2020-03-18 16:42:06 +11:00
Nigel Tao f2eb7014ea Expand example/jsonptr memory safety comment 2020-03-16 21:10:20 +11:00
Nigel Tao 18ef5b458c Fix -Wswitch warnings in example/json* 2020-03-16 10:37:47 +11:00
Nigel Tao d0b16cb492 Add example/jsonfindptrs 2020-03-15 23:15:07 +11:00
Nigel Tao b48ee75e0b Change example/jsonptr C++ member name style 2020-03-13 09:27:33 +11:00
Nigel Tao 3690e83d86 Rename example/jsonptr's -compact flag 2020-03-12 16:52:26 +11:00
Nigel Tao d6fdfb133f Add example/jsonptr -strict-json-pointer-syntax 2020-03-12 11:32:28 +11:00
Nigel Tao 52c4d6ae4b Add example/jsonptr -max-output-depth flag 2020-03-08 21:12:38 +11:00
Nigel Tao fdac24a425 Rename FOO_BUFFER_SIZE to FOO_BUFFER_ARRAY_SIZE 2020-03-06 21:53:08 +11:00
Nigel Tao 01abc84784 Let example/jsonptr take a filename arg 2020-03-06 21:42:33 +11:00
Nigel Tao 6e7d1410ee Redo how example/jsonptr's -indent=N -tabs works 2020-03-06 09:21:35 +11:00
Nigel Tao fe0cbbd6e9 Have example/jsonptr self-impose a sandbox 2020-03-06 09:07:59 +11:00
Nigel Tao 0cd2f986bf Have jsonptr implement JSON Pointer queries 2020-03-04 21:39:36 +11:00
Nigel Tao b9ad34fad3 Add wuffs_base__utf_8__encode 2020-03-03 12:44:01 +11:00
Nigel Tao 6892095998 Have C programs handle flags consistently 2020-03-03 11:25:18 +11:00
Nigel Tao 107f0ef2e5 Add jsonptr --compact, --indent and --tabs flags 2020-03-01 21:39:28 +11:00
Nigel Tao 85fba7f82b Tweak wuffs_base__token bitmask assignments again 2020-02-29 16:28:06 +11:00
Nigel Tao d1c928a1ed Have tokens include explicit link bits 2020-02-29 10:46:44 +11:00
Nigel Tao cb37a56997 Have example/jsonptr consider string conversion 2020-02-28 09:56:24 +11:00
Nigel Tao 2cf76db02c Redo example/jsonptr's main loop 2020-02-27 22:42:01 +11:00
Nigel Tao 3b48698db3 Refactor example/jsonptr's handle_string 2020-02-27 15:05:59 +11:00
Nigel Tao 2914bae3b2 Re-format C function signatures 2020-02-26 09:40:30 +11:00
Nigel Tao 16b0c4652a Have std/json decode Unicode surrogate pairs 2020-02-25 10:45:31 +11:00
Nigel Tao c5b3a9e08e Have std/json look at args.src.is_closed() more 2020-02-24 11:55:31 +11:00
Nigel Tao 6b161af654 Have example/jsonptr consume trailing whitespace 2020-02-24 11:01:48 +11:00
Nigel Tao 569a294fc2 Add script/run-json-test-suite.sh 2020-02-24 09:45:05 +11:00
Nigel Tao 9cc2c25f3d Have different exit codes for errors vs exceptions 2020-02-23 17:05:49 +11:00
Nigel Tao 9f7a250cf2 Define WUFFS_BASE__TOKEN__VBC__ETC macros 2020-02-23 09:42:02 +11:00
Nigel Tao 01bab82970 Have std/json pushes be (from, to) not just (to) 2020-02-23 09:20:56 +11:00
Nigel Tao b5461bdd5e Have std/json decode string escapes 2020-02-21 14:13:37 +11:00
Nigel Tao 67306567f9 Have std/json look at args.src.is_closed() 2020-02-19 14:04:49 +11:00
Nigel Tao 8850d38403 Have std/json decode numbers 2020-02-19 12:25:00 +11:00
Nigel Tao a8406927ef Add io_reader.is_closed 2020-02-19 12:22:00 +11:00
Nigel Tao 0711f23fed Fix missing yield inside std/json string decoder 2020-02-17 13:17:06 +11:00
Nigel Tao 1b07349144 Add example/jsonptr 2020-02-16 22:19:12 +11:00