document the obelisk namespace
This commit is contained in:
parent
9e6772cb59
commit
c5ff5479a5
@ -8,7 +8,7 @@
|
|||||||
#include <limits>
|
#include <limits>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
static int mainLoop()
|
static int obelisk::mainLoop()
|
||||||
{
|
{
|
||||||
auto parser = std::unique_ptr<obelisk::Parser> {new obelisk::Parser()};
|
auto parser = std::unique_ptr<obelisk::Parser> {new obelisk::Parser()};
|
||||||
std::unique_ptr<obelisk::KnowledgeBase> kb;
|
std::unique_ptr<obelisk::KnowledgeBase> kb;
|
||||||
@ -109,5 +109,5 @@ int main(int argc, char** argv)
|
|||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
return mainLoop();
|
return obelisk::mainLoop();
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user