Commit Graph

25 Commits

Author SHA1 Message Date
c822d0ffaa Simplify table
Now we only have symbols that actually go on the stack
2025-05-13 17:52:56 -04:00
cf08854664 Copy strings in benchmarks 2025-05-13 15:29:45 -04:00
73762b53db Compare to simdjson 2025-05-13 15:01:27 -04:00
a04a558276 Update parser descriptions 2025-05-13 14:00:20 -04:00
d0447e64b2 Accept . in numbers 2025-05-13 13:55:26 -04:00
4e4f69cb88 Add true, false, and null to sample json 2025-05-13 13:48:35 -04:00
58a8380005 Remove some dead code 2025-05-13 13:31:15 -04:00
b5f976208d Save one iteration in parse_number 2025-05-13 13:29:17 -04:00
1fab01516e Make use of "expected symbol" info 2025-05-13 13:24:45 -04:00
052e452669 Don't need to pop in reject 2025-05-13 12:30:43 -04:00
496fb229ec Pass symbol on top of stack to nextToken 2025-05-13 12:29:48 -04:00
557e89f1a2 Remove PRESERVE_NONE 2025-05-13 11:58:31 -04:00
47d6705aaf Remove currentToken asserts 2025-05-13 11:52:12 -04:00
64a3b8ac8c Return token from nextToken again 2025-05-13 11:29:28 -04:00
30c9ad8690 Call nextToken from keepGoing 2025-05-13 11:23:24 -04:00
b6adb2885f Minor tinkers 2025-05-13 11:21:51 -04:00
bf9ff80a6d bench1 and bench2 2025-05-13 11:14:51 -04:00
6b5eb508d1 Move all pops to top of table functions 2025-05-13 10:59:48 -04:00
6d750390af Check for stack overflow 2025-05-13 10:48:19 -04:00
ae2ad167b9 Simplify index calculation 2025-05-12 23:26:19 -04:00
1197117258 Add PRESERVE_NONE 2025-05-12 23:15:46 -04:00
b22175e24d Add -fno-omit-frame-pointer 2025-05-12 23:15:21 -04:00
d90ea31ded Parser2: pushdown automata 2025-05-12 17:42:47 -04:00
9e56aa9612 Implement Parser1, simple recursive descent 2025-05-12 13:16:16 -04:00
weaselab
f1acb2d0a0 Initial commit 2025-05-12 15:14:57 +00:00