1
0

initial parser and compiler

This commit is contained in:
2025-07-19 17:30:42 +03:00
parent 27bd44a82b
commit 58a84ade0d
9 changed files with 717 additions and 0 deletions

15
src/helper.hpp Normal file
View File

@@ -0,0 +1,15 @@
#ifndef APP_HELPER_H
#define APP_HELPER_H
#include <array>
#include <functional>
#include <variant>
template<std::size_t N, typename T>
constexpr std::array<T, N> array_fill(const T& value) {
std::array<T, N> array{};
array.fill(value);
return array;
}
#endif // APP_HELPER_H