Move options parsing code to main (#7054)
authorGereon Kremer <nafur42@gmail.com>
Mon, 23 Aug 2021 19:11:13 +0000 (12:11 -0700)
committerGitHub <noreply@github.com>
Mon, 23 Aug 2021 19:11:13 +0000 (19:11 +0000)
commitc94008073d2b9ddec19ca9713d0c30eb41777eb6
treeecc6e4119f1a82518714fed36accb89084145b83
parentb9fd9a24da615fab9e23a5a48fbad023150bef61
Move options parsing code to main (#7054)

This PR moves the code responsible for parsing the command line to the main folder. Note that the options themselves, and converting strings to the options proper types, calling predicates etc, stays in libcvc5. The PR also slightly refactors the options code to get rid of the assign_* functions.
src/main/CMakeLists.txt
src/main/driver_unified.cpp
src/main/main.h
src/main/options.h [new file with mode: 0644]
src/main/options_template.cpp [new file with mode: 0644]
src/options/didyoumean.h
src/options/mkoptions.py
src/options/option_exception.h
src/options/options_public.h
src/options/options_public_template.cpp
test/unit/node/node_black.cpp