olemorud
bdb1904ff7
add placeholder test
2023-04-25 05:05:37 +02:00
olemorud
47792c624b
Update comments and error code values
2023-04-25 05:05:01 +02:00
olemorud
edfea67b65
Fix map bug: 'foo' and 'foobar' --> key collision
2023-04-25 05:01:28 +02:00
olemorud
7d24f2897f
Add test data
2023-04-25 02:22:23 +02:00
olemorud
e0857626d6
Refactor: macro constants -> config.h
2023-04-25 00:22:43 +02:00
olemorud
2eeaa2171f
Fix all memory leaks
2023-04-24 23:44:45 +02:00
olemorud
3b7cc458fc
Makefile: add no-omit-framepointer to debug builds
2023-04-24 23:44:45 +02:00
olemorud
9a88d1cbdc
Refactor
...
Move json_value and obj_t to same file
- Rename json_obj.* -> json_value.*
- Move `print_json_value(...)` to json_value.*
Move `err_ctx(...)` to util.*
parse.h now only exposes `parse_json_value(...)`
2023-04-24 23:44:45 +02:00
olemorud
4b91c62750
Fix parser errors
2023-04-23 21:04:14 +02:00
olemorud
3839837dab
Improved error handling
2023-04-23 20:06:13 +02:00
olemorud
2445941ab6
Reformat comment
2023-04-23 19:39:07 +02:00
olemorud
995b9dee61
Makefile: Remove LDFLAGS,LDLIBS
2023-04-23 19:38:44 +02:00
olemorud
f70be0f392
Fix json printing errors
2023-04-23 19:38:15 +02:00
olemorud
5365740941
Improve error handling
2023-04-23 19:37:26 +02:00
olemorud
ee2ce69fe7
clang-format, more consistent function comments
2023-04-22 23:52:33 +02:00
olemorud
9f66f4aff9
Choose file to parse from CLI arguments
2023-04-22 22:37:17 +02:00
olemorud
dc4e39af6c
Update README
2023-04-22 22:32:23 +02:00
olemorud
ea517dc6bd
Add README
2023-04-22 22:32:23 +02:00
olemorud
78abb0ff8d
parse.c: remove #include <errno.h>
2023-04-22 22:29:50 +02:00
olemorud
035c3b6b02
util.c: Improve formatting of stack trace
2023-04-22 22:29:50 +02:00
olemorud
67c3cb3bc9
parse.c: fix various parsing bugs
2023-04-22 22:29:50 +02:00
olemorud
c1398004fc
Makefile: Add release and debug builds
2023-04-22 22:29:50 +02:00
olemorud
89dc8149c0
First version correctly parsing sample.json
2023-04-22 18:43:58 +02:00
olemorud
4ce1c34838
Initial commit
2023-04-22 18:43:36 +02:00