46 Commits

Author SHA1 Message Date
Leonetienne
f5a7687676 Fix compiler issues on macos 2022-02-08 09:35:21 +01:00
Leonetienne
c58237b028 Renamed constraint modifier method to be more descriptive 2021-09-05 12:59:56 +02:00
Leonetienne
b45e305122 Added daisychain methods to easily create more complex parameter constraints 2021-09-05 12:56:34 +02:00
Leonetienne
19560b538f Added incompatibilities to the auto-generated documentation 2021-09-05 12:24:10 +02:00
Leonetienne
cfcd2253ed Added support for parameter incompatibility constraints 2021-09-05 12:02:41 +02:00
Leonetienne
2a61fa980a Put stringtools into 'internal' namespace 2021-08-04 21:17:34 +02:00
Leonetienne
4382254218 Renamed Hazelnupp class in code to CmdArgsInterface 2021-06-08 14:00:20 +02:00
Leonetienne
1b8c156314 Renamed 'ParamConstraint::wantedType' to 'ParamConstraint::requiredType' 2021-06-06 15:30:10 +02:00
Leonetienne
09a2ce4e74 Fixed g++ incompatibility 2021-06-06 15:20:44 +02:00
Leonetienne
d82d85adb8 Made error messages MUCH MORE descriptive 2021-06-06 15:06:10 +02:00
Leonetienne
82375e334c Removed unused main.cpp from lib project 2021-06-06 15:05:51 +02:00
Leonetienne
7e464510bc Added static testing project 2021-06-06 15:04:38 +02:00
Leonetienne
c18c7b1c74 Changed parsing-conversion behaviour of the void value. It is now less strict. 2021-06-05 12:37:24 +02:00
Leonetienne
275ce060f0 Minor optimization 2021-06-05 12:29:59 +02:00
Leonetienne
dee1a57da7 Changed RegisterConstraint to a more streamlined approach 2021-06-05 12:16:50 +02:00
Leonetienne
d6c1384991 Renamed private variables 2021-06-05 11:58:45 +02:00
Leonetienne
9abcd28b44 Slight modifications, and added unit tests 2021-06-05 11:56:29 +02:00
Leonetienne
351ffd2653 Main.cpp now has ann example for the automatic documentation 2021-06-04 02:31:30 +02:00
Leonetienne
0795588290 Changed project type back to lib 2021-06-04 02:30:02 +02:00
Leonetienne
359463682f Implemented automatic parameter documentation 2021-06-04 01:50:21 +02:00
Leonetienne
124b6e5b98 Namespacified 2021-06-03 13:42:40 +02:00
Leonetienne
781e046122 added more comments 2021-06-03 11:43:12 +02:00
Leonetienne
ce90ff689b Enabled void->list conversion in parse-time 2021-06-03 01:11:40 +02:00
Leonetienne
91ab87ca4d Added static constructors to ParamConstraint 2021-06-03 00:07:52 +02:00
Leonetienne
4d5547c02f Removed dead commented-out code 2021-06-02 22:42:00 +02:00
Leonetienne
d8f27d9018 Added descriptions to exceptions 2021-06-02 22:30:43 +02:00
Leonetienne
83285a297a Added custom Exception HazelnuppValueNotConvertibleException 2021-06-02 22:27:51 +02:00
Leonetienne
dbc02fab2e Implemented a SetCrashOnFail(bool) method for Hazelnupp 2021-06-02 22:16:34 +02:00
Leonetienne
33200477a6 Small optimization 2021-06-02 22:03:36 +02:00
Leonetienne
8afa0bb351 Added more constructors to ParamConstraint 2021-06-02 21:19:20 +02:00
Leonetienne
f2b90f0caa Added constructor to ParamConstraint 2021-06-02 21:12:53 +02:00
Leonetienne
c0cb795cee Added exception for unknown key 2021-06-02 20:57:20 +02:00
Leonetienne
e62ffa206c Fix warnings 2021-06-02 20:03:02 +02:00
Leonetienne
7b9edcd356 Renamed Value() 2021-06-02 19:57:16 +02:00
Leonetienne
d77480ef27 Hazelnut now quits the application and prints to stderr when exceptions occur 2021-06-02 19:51:56 +02:00
Leonetienne
53300dd1fd Implemented constraints 2021-06-02 19:37:20 +02:00
Leonetienne
9fd183e0cd Implemented constraint for forced types 2021-06-02 19:20:50 +02:00
Leonetienne
a2de37264a Cleanup 2021-06-02 18:36:12 +02:00
Leonetienne
131520e1ef Fixed memory leaks 2021-06-02 17:15:17 +02:00
Leonetienne
c412e879a1 Added Getters for data-types in Value 2021-06-02 16:04:53 +02:00
Leonetienne
a3520f555d Implemented abbreviations 2021-06-02 15:14:27 +02:00
Leonetienne
c5d9a0b871 Some cleanup 2021-06-02 14:50:29 +02:00
Leonetienne
6bc30dd295 Added uml 2021-06-02 14:41:31 +02:00
Leonetienne
b718bac6eb Able to parse simple values 2021-06-02 14:31:51 +02:00
Leonetienne
c5b92f2e6e Implemented basic class structure 2021-06-02 12:15:11 +02:00
Leonetienne
d84f8d6717 Initial comit 2021-06-02 11:09:52 +02:00