feature/documentation #12

Merged
cromer merged 26 commits from feature/documentation into develop 2023-02-03 23:21:29 -03:00
2 changed files with 16 additions and 3 deletions
Showing only changes of commit c5ff5479a5 - Show all commits

View File

@ -8,7 +8,7 @@
#include <limits>
#include <memory>
static int mainLoop()
static int obelisk::mainLoop()
{
auto parser = std::unique_ptr<obelisk::Parser> {new obelisk::Parser()};
std::unique_ptr<obelisk::KnowledgeBase> kb;
@ -109,5 +109,5 @@ int main(int argc, char** argv)
return EXIT_FAILURE;
}*/
return mainLoop();
return obelisk::mainLoop();
}

View File

@ -1 +1,14 @@
static int mainLoop();
/**
* @brief The obelisk namespace contains everything needed to compile obelisk code.
*
*/
namespace obelisk
{
/**
* @brief This is the main loop for obelisk.
* This loop handles lexing and parsing of obelisk source code.
*
* @return int Returns EXIT_SUCCESS or EXIT_FAILURE.
*/
static int mainLoop();
} // namespace obelisk