diff --git a/furvm/include/furvm/context.hpp b/furvm/include/furvm/context.hpp new file mode 100644 index 0000000..499c1f4 --- /dev/null +++ b/furvm/include/furvm/context.hpp @@ -0,0 +1,33 @@ +#ifndef FURVM_CONTEXT_HPP +#define FURVM_CONTEXT_HPP + +namespace furvm { + +/** + * @brief Context. + * + * A furvm context. + */ +class context { +public: + context() = default; + ~context() = default; + + /** + * @brief Move constructor. + */ + context(context&&) = default; + + /** + * @brief Move constructor. + */ + context& operator=(context&&) = default; + + context(const context&) = delete; + context& operator=(const context&) = delete; +private: +}; + +} // namespace furvm + +#endif // FURVM_CONTEXT_HPP \ No newline at end of file diff --git a/furvm/src/context.cpp b/furvm/src/context.cpp new file mode 100644 index 0000000..29023e9 --- /dev/null +++ b/furvm/src/context.cpp @@ -0,0 +1,3 @@ +#include "furvm/context.hpp" + +namespace furvm {} \ No newline at end of file diff --git a/furvm/src/main.cpp b/furvm/src/main.cpp index 54b561f..001cc5f 100644 --- a/furvm/src/main.cpp +++ b/furvm/src/main.cpp @@ -1,9 +1,9 @@ #ifndef LIBFURVM -#include +#include "furvm/context.hpp" int main(void) { - std::cout << "Hello, furlang!\n"; + furvm::context context; return 0; }