Commit Graph
137 Commits
Author SHA1 Message Date
rexy712 79f0430d2c Fix parse example 2020-03-26 09:12:57 -07:00
rexy712 c42ee430c9 Add 2 basic examples 2020-03-26 09:09:00 -07:00
rexy712 4c94e11ff3 Decided to change rjp_set_member and related functions to default to allocation and copy since i kept getting them mixed up 2020-03-26 08:56:06 -07:00
rexy712 44fb59f602 Add ordered/unordered object conversion tests 2020-03-26 08:13:35 -07:00
rexy712 a4d1a98a0e Reworked rjp++ element/member addition 2020-03-24 16:34:07 -07:00
rexy712 86de4d2bb3 Add testing targets to cmake. Improve output test 2020-03-24 14:53:02 -07:00
rexy712 437d6f7bd0 Add additional test and make it easier to add more in the future 2020-03-23 17:34:57 -07:00
rexy712 330b3956e5 Fix small output bugs. Add ability to add member to object/array in one function call. 2020-03-23 17:28:12 -07:00
rexy712 968e74b182 Fix null pointer access in array iterator operations 2020-03-23 11:55:10 -07:00
rexy712 7177386801 Cleanup unneeded functions and includes 2020-03-23 10:58:56 -07:00
rexy712 eaa02d5ab4 Cleanup rjp++ includes 2020-03-23 10:38:39 -07:00
rexy712 caaf29842d Add callback based parsing to rjp++ 2020-03-22 19:08:26 -07:00
rexy712 32db7680d7 Cleanup and comment a bit more of the source 2020-03-22 16:07:52 -07:00
rexy712 d6213cfe1b Cleanup rjp.h 2020-03-22 14:46:57 -07:00
rexy712 f88bb0c4f2 Add callback based reading, essentially making chunked reading redundant 2020-03-22 11:14:10 -07:00
rexy712 841c179c24 Update .gitignore for new makefile 2020-03-22 11:12:32 -07:00
rexy712 52963dce22 Fix warning generated during release build 2020-03-19 18:55:58 -07:00
rexy712 6c526fc77c Update gitignore 2020-03-17 16:54:39 -07:00
rexy712 a345dbbff3 Add license disclaimer to rjp_lex files 2020-03-17 16:02:44 -07:00
rexy712 4387f9d39a Rename *_yacc_* to *_parse_* 2020-03-17 16:01:41 -07:00
rexy712 8e454b3d5a Separated lexing logic further. Added file for lexical analysis functions 2020-03-17 15:59:51 -07:00
rexy712 21e4583827 Separate tokenizing logic from loop 2020-03-16 18:28:28 -07:00
rexy712 e38245261e Remove parsing dependance on null terminator 2020-03-14 09:21:57 -07:00
rexy712 cc372b2941 Separated parsing loop and parsing logic 2020-03-13 12:29:52 -07:00
rexy712 e3d16e2112 Fix rjp_parse signature 2020-03-12 17:51:12 -07:00
rexy712 dd76bc9253 Change comment/excess comma support to runtime behavior 2020-03-11 12:55:30 -07:00
rexy712 e947976340 Remove array functions from rjp++ that should have been removed previously 2020-03-10 15:16:52 -07:00
rexy712 f2e4593847 Fix typo in parsing with trailing commas enabled 2020-03-10 15:07:16 -07:00
rexy712 bfd1777fef Add block comments and make RJP_yacc_target stack dynamically resize 2020-03-10 12:56:17 -07:00
rexy712 d6a5d3009b More TODO 2020-03-10 08:28:03 -07:00
rexy712 be11a8e482 Update todo 2020-03-09 17:36:57 -07:00
rexy712 466168f8a2 Add a couple more utf testes 2020-03-09 17:36:28 -07:00
rexy712 b60cfce6fc Add utf escapes to test program 2020-03-09 16:03:05 -07:00
rexy712 46e86e248b Fix utf escape support 2020-03-09 16:02:48 -07:00
rexy712 a8ba1cc2fb Update readme 2020-03-09 15:08:10 -07:00
rexy712 d27e8a8879 Update TODO 2020-03-09 15:00:18 -07:00
rexy712 a17e19bbc0 Updated parsing. Fixes many different sources of segfaults, simplifies modification, and (finally) adds support for scientific notation. Along with a handful of other small parsing changes/fixes. 2020-03-09 15:00:08 -07:00
rexy712 b5002db578 Fix rjp_internal to use newer configure option 2020-03-09 14:40:04 -07:00
rexy712 821ca95610 Update rjp++ CMake project to match rjp's 2020-03-09 14:39:37 -07:00
rexy712 67036521d3 Add more configure options to CMake project. 2020-03-09 14:39:17 -07:00
rexy712 c2f4131b63 Add test source file 2020-03-09 14:38:33 -07:00
rexy712 637f20e6b7 Supply correct lib flags for static/shared build 2020-03-08 19:10:01 -07:00
rexy712 91f810e404 Update readme 2020-03-07 13:25:22 -08:00
rexy712 65dabe16d9 Separate CMakeLists into separate projects for rjp and rjp++. Add install for pkg-config files 2020-03-06 16:14:59 -08:00
rexy712 5b0570f546 Updated gitignore for pc files 2020-03-06 16:13:44 -08:00
rexy712 59413d6d48 Separated rjp++'s single include file 2020-03-06 16:13:28 -08:00
rexy712 26e3cf4b2c Add pkg-config files 2020-03-06 16:12:49 -08:00
rexy712 24f9f608a8 Flesh out rjp++. Add conversion, parsing, type checking, key access, etc 2020-03-05 17:23:30 -08:00
rexy712 5c7be8fb66 Add null pointer checks to unordered object iterator 2020-03-05 17:22:56 -08:00
rexy712 f97826aac3 Change how rjp++ handles member/element addition 2020-03-04 14:49:20 -08:00