Commit Graph

81 Commits

Author SHA1 Message Date
3e72181bee Add flags argument to WeaselJsonParser_create 2025-06-25 16:44:31 -04:00
2299904557 Compare dfa and simdjson::validate_utf8 2025-06-23 14:29:49 -04:00
451c07747e Move dfa's to tables.h 2025-06-23 14:15:05 -04:00
47a418b689 Separate "normal" and "unicode" escapes 2025-06-23 13:18:05 -04:00
fe60881476 Add literals bench 2025-06-23 13:10:41 -04:00
f4c4ed4c36 Compare specific inputs with simdjson dom 2025-06-23 12:24:28 -04:00
03156d2036 Benchmarks that push the implementation in a specific way 2025-06-23 12:19:28 -04:00
5613303d52 Add automata to recognize utf8 in strings 2025-06-21 15:56:15 -04:00
976f64b7d3 Try out dfa for numbers 2025-06-19 16:13:46 -04:00
0c2af46a79 Start bench at a stride of 128 2025-06-05 15:45:44 -04:00
3e2f830d0b Use new simd library for scanning string literals 2025-06-04 13:49:19 -04:00
f6cd807da3 Remove on_{begin,end}_{string,number}
And add `done` arg to data callback
2025-05-25 21:01:37 -04:00
4240894318 Bring in a bunch of cmake settings from conflict-set 2025-05-24 18:20:36 -04:00
1217ded8a7 Convert everything to c api 2025-05-24 18:20:36 -04:00
493e6aec31 Benchmark different strides 2025-05-22 19:24:14 -04:00
6e602d8fd5 Start working on c api 2025-05-22 10:55:15 -04:00
611d1a07de Validate correct string data in fuzz test 2025-05-21 15:45:24 -04:00
c261b64620 Fix unintentionally disabled test 2025-05-21 14:06:43 -04:00
4174f1c609 Add test witnessing unescaping bug 2025-05-19 17:15:56 -04:00
be8187b2fd Fix issue with fuzz test
Previously an implementation could never call on_begin_number or
on_end_number and still pass
2025-05-19 15:58:15 -04:00
292154100f Implement utf16 surrogate pairs 2025-05-19 14:53:16 -04:00
34ad19c22f Unescape basic multi-lingual plane utf8 2025-05-19 14:26:12 -04:00
19bc216458 Add utf-8 unescaping test 2025-05-19 13:14:24 -04:00
5ae8d4343c Add simple unescaping test 2025-05-19 12:25:59 -04:00
a271d698d0 Include "callbacks.h" 2025-05-19 11:36:02 -04:00
b7f6ed1c9c Wee fuzz test and associated bug fixes 2025-05-18 13:46:00 -04:00
9543aba2ad Add streaming test 2025-05-18 13:13:36 -04:00
5dd627f072 Call final parse call in bench 2025-05-18 12:03:14 -04:00
7b546bf9cb Fix test numbering 2025-05-18 12:02:04 -04:00
249154f0a3 Remove musttail definition in test.cpp 2025-05-18 11:59:25 -04:00
9f6a04c3e8 Remove Parser1 2025-05-18 11:54:37 -04:00
19208c0e0a Pivot to simpler approach. Passes JSONTestSuite 2025-05-18 11:34:12 -04:00
925429f8e4 Add T_EOF 2025-05-17 17:15:01 -04:00
37c860ce62 Combine prime and parse 2025-05-17 13:41:28 -04:00
733dc576b7 Start organizing code 2025-05-17 12:24:07 -04:00
6f0315e00c Don't check for empty stack as often 2025-05-16 17:00:18 -04:00
adedfc6435 Mention we don't validate utf-8 2025-05-16 16:59:45 -04:00
2b640832f6 Use 64 bit index 2025-05-16 16:52:18 -04:00
01e04ca166 Output delimiters for minifyCallbacks 2025-05-16 16:11:28 -04:00
dbf20328d1 Handle more "number" digits 2025-05-16 12:54:13 -04:00
545836f6d2 Handle string framing (i.e. \") 2025-05-16 12:38:38 -04:00
aa25751c17 static assert symbolNames is the right size 2025-05-15 20:38:27 -04:00
3cedd66d74 Add whitespace nonterminal 2025-05-15 20:33:56 -04:00
d8a8bcbd19 Fix some callback calls 2025-05-15 19:53:22 -04:00
a7b8cc91ea Remove Parser2::parseLiteral 2025-05-15 17:39:07 -04:00
6fc0a7013e Fix missing calls to on begin object/array 2025-05-15 17:30:37 -04:00
a9ebff72b0 Close to streaming parser 2025-05-15 17:24:37 -04:00
2507e34883 Prepare for streaming interface 2025-05-15 16:36:01 -04:00
8720220303 Return Status instead of bool 2025-05-14 20:38:01 -04:00
adbdae5730 Simplifications 2025-05-14 20:04:03 -04:00