alisdair sullivan
|
0014d36114
|
inline seq functions and replace all stray incidences of unseq'd accumulation
|
2013-03-02 15:12:29 -08:00 |
|
alisdair sullivan
|
cfbe07ee85
|
use seq functions for accumulation throughout
|
2013-03-02 15:01:32 -08:00 |
|
alisdair sullivan
|
6df04635b8
|
change seq macros to functions
|
2013-03-02 14:56:32 -08:00 |
|
alisdair sullivan
|
8ee653a6cf
|
rewrite number handling to both reduce states and reduce complexity
|
2013-03-02 14:50:40 -08:00 |
|
alisdair sullivan
|
1646955038
|
refactor handling of string escapes adding test cases to catch edge cases with replaced utf8
|
2013-02-27 19:41:22 -08:00 |
|
alisdair sullivan
|
f47e89e54f
|
add tests for single quoted strings in objects
|
2013-02-26 23:16:53 -08:00 |
|
alisdair sullivan
|
21a8d00739
|
refactor partial escape sequence detection
|
2013-02-26 21:27:40 -08:00 |
|
alisdair sullivan
|
a08f660d55
|
check bad_utf tests for incremental decoding
|
2013-02-26 21:11:31 -08:00 |
|
alisdair sullivan
|
9bf0ca50e9
|
nestable /* */ style comments
|
2013-02-26 18:41:53 -08:00 |
|
alisdair sullivan
|
8a8af8af84
|
apply resume stuffing technique to comments for mystery project x (better resume api)
|
2013-02-26 18:31:44 -08:00 |
|
alisdair sullivan
|
4236edbf95
|
reduce incomplete literal states further
|
2013-02-25 23:18:06 -08:00 |
|
alisdair sullivan
|
1c030b6eeb
|
explain some magic number nonsense
|
2013-02-25 21:45:13 -08:00 |
|
alisdair sullivan
|
9627ceefab
|
reduce literal states
|
2013-02-25 21:38:07 -08:00 |
|
alisdair sullivan
|
e69d62f375
|
fix sort of a bug with escape sequences
|
2013-02-25 21:32:27 -08:00 |
|
alisdair sullivan
|
04f9fedeeb
|
add test to ensure incremental decoding works
|
2013-02-25 20:23:31 -08:00 |
|
alisdair sullivan
|
7f94b452fa
|
update comments to make control code handling slightly more clear
|
2013-02-25 17:37:49 -08:00 |
|
alisdair sullivan
|
01a2f06a91
|
vastly simplify string decoding, still needs tests for incompletes/errors
|
2013-02-25 17:24:06 -08:00 |
|
alisdair sullivan
|
71767e4d28
|
add test for bom in decoder
|
2013-02-24 20:10:48 -08:00 |
|
alisdair sullivan
|
82b7044d42
|
unescape tests for decoder
|
2013-02-24 02:28:33 -08:00 |
|
alisdair sullivan
|
fd9856341f
|
bad utf tests for decoder
|
2013-02-24 02:14:47 -08:00 |
|
alisdair sullivan
|
57e10dfca6
|
additional decoder tests
|
2013-02-24 01:59:54 -08:00 |
|
alisdair sullivan
|
00b593c6ea
|
add escape tests to decoder
|
2013-02-24 01:50:17 -08:00 |
|
alisdair sullivan
|
7b31bef0f6
|
more comprehensive string checking
|
2013-02-24 01:32:17 -08:00 |
|
alisdair sullivan
|
5d40e559c9
|
import old string parsing and fix parsing of single quoted strings
|
2013-02-24 01:07:16 -08:00 |
|
alisdair sullivan
|
257d7ee387
|
make tests more consistent in decoder
|
2013-02-24 00:54:16 -08:00 |
|
alisdair sullivan
|
6c51597f65
|
slightly generalize decoder for tests
|
2013-02-23 22:49:46 -08:00 |
|
alisdair sullivan
|
9244845c37
|
fix order of comments test
|
2013-02-21 00:13:07 -08:00 |
|
alisdair sullivan
|
6b6f713f96
|
add some tests for single quoted strings
|
2013-02-21 00:05:12 -08:00 |
|
alisdair sullivan
|
488132aecb
|
basic strings now FAST in decoder, escapes and bad utf nyi
|
2013-02-20 23:57:06 -08:00 |
|
alisdair sullivan
|
0392be060d
|
add tests for strings that need unescaping in decoding
|
2013-02-19 00:26:53 -08:00 |
|
alisdair sullivan
|
4d60fa2a08
|
add special number tests for floats and integers that have different representation in erlang and json
|
2013-02-13 21:54:09 -08:00 |
|
alisdair sullivan
|
9e01e3a704
|
reduce test cases to saner set
|
2013-02-13 19:13:50 -08:00 |
|
alisdair sullivan
|
5c96222cbf
|
add additional comment tests
|
2013-02-12 12:06:45 -08:00 |
|
alisdair sullivan
|
ff6a83598b
|
replace all incidences of opts with config
|
2013-02-12 11:54:42 -08:00 |
|
alisdair sullivan
|
2f47fdd642
|
simplify exportation of tests, add strings to test suite
|
2013-02-11 19:06:44 -08:00 |
|
alisdair sullivan
|
eaf19cde9c
|
extend tests to decoder, encoder and parser
|
2013-02-11 18:22:45 -08:00 |
|
alisdair sullivan
|
eaba8c7b0f
|
remove redundant code in decoder
|
2013-01-22 23:44:15 -08:00 |
|
alisdair sullivan
|
83a219ba80
|
more specific guarding in string fsm
|
2012-12-28 06:43:35 -08:00 |
|
alisdair sullivan
|
1982665507
|
extend decoder tests to be more comprehensive
|
2012-12-28 06:35:26 -08:00 |
|
alisdair sullivan
|
844ee2407f
|
previously, unambiguously incomplete input was sometimes treated as ambiguous. the 'incomplete_input' flag is no longer needed to parse this input correctly
|
2012-11-21 23:35:15 -08:00 |
|
alisdair sullivan
|
6ff94d8e5f
|
strip trailing whitespace
|
2012-11-21 23:04:14 -08:00 |
|
alisdair sullivan
|
d081bd2539
|
change all stray badjson to badarg
|
2012-05-24 23:07:03 -07:00 |
|
Bob Ippolito
|
6ff1471550
|
handle escaped solidus correctly per JSON spec
|
2012-04-26 13:04:17 -07:00 |
|
alisdair sullivan
|
ded212c397
|
minor refactoring of jsx_decoder in prep for post_decode hook
|
2012-04-06 08:35:40 -07:00 |
|
alisdair sullivan
|
e69ac5f371
|
detect utf8 bom and ignore if present
|
2012-04-04 20:46:41 -07:00 |
|
alisdair sullivan
|
19402fbee4
|
two new tests for comments and one (tiny) fix for trailing comments
|
2012-04-01 17:53:59 -07:00 |
|
alisdair sullivan
|
7b5f56a4be
|
minor refactoring in jsx_decoder
|
2012-04-01 17:27:55 -07:00 |
|
alisdair sullivan
|
3e56b7ff3d
|
more explicit handling of comments
|
2012-04-01 17:16:22 -07:00 |
|
alisdair sullivan
|
3bc2c68ea3
|
fix the tenses and forms of option flags
|
2012-03-31 21:58:18 -07:00 |
|
alisdair sullivan
|
357e3e0aeb
|
add naked single quoted json escape test
|
2012-03-31 21:19:26 -07:00 |
|