Commit Graph

348 Commits

Author SHA1 Message Date
Guillaume Fraux
612119fa1e Do not use the macro shortcut for not
It is not required by the standard
2017-05-15 14:05:54 +02:00
Guillaume Fraux
552de18501 Add Appveyor CI 2017-05-15 14:05:49 +02:00
Guillaume Fraux
fdd2a7a640 Do not assume the project is built in a build folder 2017-05-15 11:19:42 +02:00
Guillaume Fraux
28a00c76d0 Use find_package to find Boost
This allow to have an error at cmake configuration time
2017-05-15 11:19:42 +02:00
Guillaume Fraux
2f2a75af4a Only set flags if the compiler support them 2017-05-15 11:19:42 +02:00
Guillaume Fraux
516a89f936 Improve checks for C++11 compiler flags 2017-05-15 11:19:42 +02:00
ToruNiina
7214a61084 tiny change 2017-05-15 15:58:29 +09:00
ToruNiina
d81e887889 fix link to license 2017-05-14 09:35:34 +09:00
ToruNiina
266c03f822 Merge branch 'master' of github.com:ToruNiina/toml11 2017-05-14 09:34:18 +09:00
ToruNiina
cad9e9fee9 add license badge 2017-05-14 09:34:02 +09:00
ToruNiina
355c52f6f8 add license 2017-05-13 17:27:53 +09:00
ToruNiina
a1f222d277 add batch 2017-05-13 16:30:56 +09:00
ToruNiina
250f1629d2 add travis.yml 2017-05-13 15:20:17 +09:00
ToruNiina
be9ea157a7 update readme and add proposal 2017-05-13 15:14:16 +09:00
ToruNiina
36199498b4 add README 2017-05-13 15:04:02 +09:00
ToruNiina
eb9f4dce1e remove static and indent 2017-05-13 15:00:02 +09:00
ToruNiina
95e48744d1 impl format<string> 2017-05-13 11:28:11 +09:00
ToruNiina
f52b78010c fix array_of_table assignments 2017-05-12 22:28:49 +09:00
ToruNiina
96429e3e08 add working directory to test 2017-05-12 20:50:04 +09:00
ToruNiina
1c26ffe3ae add parse() function 2017-05-12 20:49:47 +09:00
ToruNiina
8abb918bd8 add parse to toml.hpp 2017-05-12 13:14:24 +09:00
ToruNiina
fd58cc507f add parse_data 2017-05-11 19:36:12 +09:00
ToruNiina
6ab05a8594 change impl of parser of values 2017-05-11 15:09:11 +09:00
ToruNiina
855cbe5aff add operator= and ctor for result 2017-05-11 15:08:38 +09:00
ToruNiina
f5d301016f add parser impl for integer, float, boolean 2017-05-11 00:14:22 +09:00
ToruNiina
88e2c3fe48 change impl of parser: optional based 2017-05-10 23:56:09 +09:00
ToruNiina
28cb28e3ba add test for parsing table definition 2017-05-10 11:16:39 +09:00
ToruNiina
acfc706e0c fix some small mistakes 2017-05-10 11:16:22 +09:00
ToruNiina
1392c2f3b9 add stream manipulators 2017-05-10 00:43:13 +09:00
ToruNiina
70f85ec818 add format 2017-05-09 22:09:03 +09:00
ToruNiina
c706a54121 add namespace specifier 2017-05-09 22:07:28 +09:00
ToruNiina
ad4ecaa7ec add test for key-value pair 2017-05-09 22:07:13 +09:00
ToruNiina
05447a5430 add test for key-value pair 2017-05-08 23:56:03 +09:00
ToruNiina
5898c29043 add some tests 2017-05-08 19:17:34 +09:00
ToruNiina
6878abdca1 define charactor type 2017-05-08 19:17:14 +09:00
ToruNiina
bf7461f7b4 fix parsing order of toml::value 2017-05-08 19:16:54 +09:00
ToruNiina
bdc7fbdf08 fix fundamental_type checking order 2017-05-08 19:16:26 +09:00
ToruNiina
29fe377438 add parser for tables 2017-05-08 19:08:49 +09:00
ToruNiina
d1814d3922 fix arguments 2017-05-08 19:08:30 +09:00
ToruNiina
bae25322f8 add acceptor for overall data 2017-05-08 19:07:50 +09:00
ToruNiina
567b69d050 fix orders of call 2017-05-08 19:07:29 +09:00
ToruNiina
98d1d88f60 add parse_array/inline table 2017-05-07 15:04:40 +09:00
ToruNiina
414fc4d0fa change key acceptor 2017-05-07 15:04:18 +09:00
ToruNiina
2d27c94506 fix missing semicolon 2017-05-07 14:09:13 +09:00
ToruNiina
77f59a2e94 split is_array to fixed_type_array and array_of_some_type 2017-05-07 14:08:42 +09:00
ToruNiina
7355c76ed0 add parse_string and parse_datetime 2017-05-07 13:51:25 +09:00
ToruNiina
a1218b266a add restriction to datetime offset size 2017-05-07 13:50:53 +09:00
ToruNiina
00e4c94766 add is_string and is_datetime 2017-05-07 12:29:54 +09:00
ToruNiina
726a70cd8f enable toml::from_toml to get static array (like std::array) 2017-05-07 10:40:47 +09:00
ToruNiina
3203d39dad enable toml::get to make static array (like std::array) 2017-05-07 10:40:17 +09:00