Commit Graph

46 Commits

Author SHA1 Message Date
ado
eeac30651a Implement throw_on_error functionality, rename some template parameters 2023-06-29 23:41:03 +02:00
ado
a4ecbd4dc8 Replace ss::ternary_t with std::conditional_t 2023-02-12 12:45:49 +01:00
ado
0aacff5729 add a few more parser unit test, disable clang12 workflow 2022-03-28 19:30:39 +02:00
ado
2c1fe9be9f update documentation 2022-03-28 19:11:41 +02:00
ado
27d0a2f33e fix minor memory leask 2022-03-27 21:41:46 +02:00
ado
a8fa5c753c add ignore_header setup option, add unit tests for parsing by header, add string_view to possible conversion values 2022-03-27 21:04:02 +02:00
ado
45d166f93d add header parsing to parser 2022-02-27 19:40:23 +01:00
ado
1ddc61c62e add possibility to iterate with the parser, update unit tests, update README 2021-02-28 19:22:54 +01:00
ado
a9b73dfc37 update README, made parser handle invalid last line 2021-02-27 20:18:38 +01:00
ado
3578e7b99c add custom getline for WIN... 2021-02-21 22:22:18 +01:00
ado
1af0e75788 update all unit tests, fix bug with unterminated escape, updated multiline parsing, refactored some code, removed unused code 2021-02-21 02:49:23 +01:00
ado
2dbc21780f WIP, added multiline restriction, fixed a few bugs for multiline, updated unit tests 2021-02-20 15:53:18 +01:00
ado
2985027505 add trim_left and trim_right, add setup static asserts, update type_traits, refactor some code, add unit tests 2021-02-14 01:59:06 +01:00
ado
ea42948c42 add string_error and multiline within the setup, remove set_error_mode, update unit tests, update documentation 2021-02-13 01:14:25 +01:00
ado
b626f78a71 make reader a struct 2021-02-07 21:29:12 +01:00
ado
c094ede588 update test names 2021-02-07 21:24:41 +01:00
ado
b847699b5e add/delete constructors and assign operators for the parser, refactor some code, update unit tests 2021-02-07 21:12:13 +01:00
ado
a1ca012203 minor refactoring 2021-02-06 21:08:59 +01:00
ado
42629c39c4 refactore a bit more, increase escape shifting performance 2021-02-06 00:55:05 +01:00
ado
6da0cb3544 add mismatched quote error, update error handling for splitter, add unit tests, update test_helpers buffer 2021-02-02 02:17:31 +01:00
ado
d887dff82a get rid of maybe-uninitialized warnings 2021-02-01 00:56:42 +01:00
ado
035e27c5ab add converter tests with quote trim and escape, enable resplit on converter, make parser handle multi-line csv, add unit tests 2021-01-31 23:08:46 +01:00
ado
bea7775118 merge with master 2021-01-21 01:54:20 +01:00
ado
92e8e200f9 add meson support, update pipeline 2021-01-19 20:26:36 +01:00
ado
6193c65388 enable matchers for parser 2021-01-17 21:46:36 +01:00
ado
4932138fba fix parser destructor 2021-01-17 15:22:50 +01:00
ado
69d6df12be add splitter, update converter and parser, update unit tests 2021-01-17 00:46:05 +01:00
ado
cd264faa70 add buffer to converter 2021-01-10 23:51:20 +01:00
ado
f6b0201bf5 try fix pipeline 2021-01-07 22:57:55 +01:00
ado
7ea33c80e2 replace stdlib.h with cstdlib, remove not needed forward declarations in type traits, fix README typo 2021-01-06 09:08:59 +01:00
ado
91853a3287 fix try_next and try_object when returning false, update unit tests 2021-01-03 17:27:21 +01:00
ado
60c8156fb7 replace or_else_object with or_object inside the parser, update documentation 2021-01-02 02:31:45 +01:00
ado
f39e1669f4 implement the try_object method, update unit tests, update documentation 2021-01-01 23:52:14 +01:00
ado
0487f33eb1 replace error_mode String and Bool with error_string and error_bool 2021-01-01 21:57:14 +01:00
ado
aa97b18aa7 update documentation, fix error message not being set in case of an invalid file 2020-12-31 01:01:18 +01:00
ado
918023496e make default error_mode Bool 2020-12-27 17:00:06 +01:00
ado
bb6296ef6e replace None with none 2020-12-26 00:56:39 +01:00
ado
e406253694 make indent with 4 caracters instead of 8 2020-12-26 00:46:42 +01:00
ado
16f4648cb3 make on_error accept lambda without arguments, update tests 2020-12-26 00:42:01 +01:00
ado
371da072be move values inside composite when possible, write unit tests for composite 2020-12-26 00:36:08 +01:00
ado
879c726964 make converter able to take a tuple as conversion argument 2020-12-19 14:41:19 +01:00
ado
508e091469 rename to_struct to to_object, refactor some code 2020-12-15 22:32:34 +01:00
ado
7b6794c4fa add comments for composite, add values method for composte 2020-12-12 23:41:56 +01:00
ado
a06121ff92 add composite, add bool error handling 2020-12-12 23:32:06 +01:00
ado
0d84fcf7e8 add support for CRLF 2020-12-11 18:14:06 +01:00
ado
9d45ff7b62 initial commit, copy everything to new repository 2020-12-10 19:26:56 +01:00