Commit Graph

26 Commits

Author SHA1 Message Date
0557bd1651 Moved get_init_array() to utility.h 2021-11-22 11:21:29 +01:00
12eec70058 Formatting 2021-11-22 11:18:48 +01:00
ee8f3a02e5 Readability changes and supressed warnings 2021-11-22 11:13:47 +01:00
5ad045fa58 Made code easier to read 2021-11-22 11:07:14 +01:00
800c141a87 Added more tests; is_digit(s, i) -> is_digit<s>(i); Minor other stuff 2021-11-22 10:53:55 +01:00
7b5290983a Moved parse_types into namespace detail; Added test Parse_ast_nodes_only 2021-11-22 08:14:04 +01:00
5a4b9e3298 Started adding unit tests 2021-11-21 22:46:19 +01:00
ad737f1c73 Started implementing zero padding 2021-11-21 20:01:00 +01:00
f2de0773ed format_arg(float) now works with the desired precision 2021-11-21 19:42:56 +01:00
ce2006694e Made format() constexpr 2021-11-21 18:59:35 +01:00
53091a30cd Added format_arg() for integral and floating point types and char arrays 2021-11-21 18:52:07 +01:00
6afb5bea87 Made format_args() slightly more readable 2021-11-21 17:42:05 +01:00
8bc8fa835d Added recursive implementation of detail::format_args 2021-11-21 17:38:59 +01:00
0d72d35229 Implemented ast_node_T; parse_string now returns an actual AST; Moved functions to new files 2021-11-21 16:53:57 +01:00
92d8f423d8 Renamed result to value and moved testing code 2021-11-20 23:47:15 +01:00
129b16d6e0 Renamed fmt_string_result_t do fmt_node_T 2021-11-20 20:40:14 +01:00
c3ed767e82 parse_string now successfully returns an array of format_node objects 2021-11-19 18:27:46 +01:00
bb24f86d5d Removed length from parse_result_t 2021-11-19 17:17:28 +01:00
435a7c442f Refactored all parsing code to get the ConstString passed as a template parameter 2021-11-19 00:26:40 +01:00
7226241097 parse_fmt_string now returning struct containing actual format parameters 2021-11-19 00:17:28 +01:00
f1952186e0 Refactored parse_num and parse_type to return type parse_result 2021-11-18 23:53:15 +01:00
83332cc295 Wrapped everything in namespaces 2021-11-18 22:05:26 +01:00
e028e43b6a Split logger.h into 3 files 2021-11-18 20:56:02 +01:00
9fe2659ba9 Removed build and project files and created gitignore 2021-11-18 20:51:09 +01:00
c35eac9047 Added logger.h 2021-11-18 20:49:45 +01:00
8517e431eb Initial commit 2021-11-18 20:44:08 +01:00