Commit graph

28 commits

Author SHA1 Message Date
alisdair sullivan
821a8ac06e integrate dmitry kolesnikov's changes to json_encode 2012-03-23 22:45:46 -07:00
alisdair sullivan
29d5c28196 Merge https://github.com/fogfish/jsx into develop 2012-03-23 18:19:00 -07:00
Dmitry Kolesnikov
5d12d6262f FIX: to_json performance + jsx benchmark 2012-03-22 21:13:20 +02:00
alisdair sullivan
e36858d1ba apply escape_forward_slash option to decoding as well as encoding 2012-03-21 05:36:39 -07:00
alisdair sullivan
338f79ec9a move test cases to priv/, retrieve location with code:lib_dir/2 2012-03-14 06:36:36 -07:00
alisdair sullivan
134aa8cc49 removed the need to regenerate the jsx_utfxx decoders. not sure why i didn't do that before, pretty sure i had a bad reason 2010-08-22 11:31:14 -07:00
alisdair sullivan
c098b06e88 general cleanup of modules, moved most types, specs, defines and records to header files and did some minor reformatting to adhere to style guidelines 2010-08-19 18:22:34 -07:00
alisdair sullivan
317d757b45 minor api change, More(end_stream) is now a badarg exception in any case except the ambiguous number 2010-08-12 21:32:03 -07:00
alisdair sullivan
1617c878f5 abandoning branch for now, work is in intermediate state 2010-08-10 11:04:14 -07:00
alisdair sullivan
00d1511b4d renamed jsx_decoder to jsx_decoder_template to hopefully make it clearer why it's not in /src 2010-08-07 18:10:23 -07:00
alisdair sullivan
8e21ab9145 added the generated source files to the /src dir along with instructions on how to generate them 2010-08-04 22:24:50 -07:00
alisdair sullivan
db91b3fb74 simplified api, end_json now signifies you can cease parsing, no need to continue and check tail 2010-08-02 20:42:12 -07:00
alisdair sullivan
5975048ee4 simplifed api, at expense of parsing naked values (which are an abomination anyways...) 2010-08-02 16:57:57 -07:00
alisdair sullivan
640156033e whitespace changes 2010-08-01 20:05:28 -07:00
alisdair sullivan
737ea8c8b7 deleted old test script 2010-07-29 22:58:45 -07:00
alisdair sullivan
42a18cfcd9 major change to api, {incomplete, Next, Force} replaced by {incomplete, Next/1} where Next/1 accepts 'end_stream' to replicate what Force/1 used to do 2010-07-27 00:05:45 -07:00
alisdair sullivan
a83a0a4ebc reworked build system to use rebar, tests still use external script, moved jsx_decoder.erl template to /priv from /src 2010-07-26 18:04:23 -07:00
alisdair sullivan
2834404054 removed extra clause from jsx_test.escript, slight modifications so it works with prove 2010-06-25 03:02:12 -07:00
alisdair sullivan
a9ecb733e3 decoder now returns end_json event at earliest possible time, Next() returns nothing but {error, badjson} if fed bad input or incomplete after that point, even if forced 2010-06-25 02:46:54 -07:00
alisdair sullivan
d58343bff3 supressed warning from jsx_test.escript 2010-06-25 02:06:22 -07:00
alisdair sullivan
0a96a059a1 added test for multi_terms 2010-06-24 15:55:08 -07:00
alisdair sullivan
c5c0aca251 removed mid level api completely 2010-06-23 23:37:48 -07:00
alisdair sullivan
37f9d2a07a brought test suite up to date, fixed a dumb error that occured when parsing integers larger than 100 2010-06-21 23:06:55 -07:00
alisdair sullivan
34929a452e rewrote build system 2010-06-21 14:00:05 -07:00
alisdair sullivan
c3bdc3b681 removed rogue DS_Store 2010-06-11 22:05:41 -07:00
alisdair sullivan
bbc291c7c4 converted jsx_test to escript, updated makefile 2010-06-08 16:36:59 -07:00
alisdair sullivan
c2f8d4e6a0 added install target to makefile, stages into code:lib_dir() 2010-06-07 17:55:13 -07:00
alisdair sullivan
a6990152b3 added makefile and build script 2010-06-07 17:21:04 -07:00