ArkScript
A small, fast, functional and scripting language for video games
|
Common code for the compiler. More...
#include <array>
#include <string_view>
#include <vector>
#include <cinttypes>
Go to the source code of this file.
Namespaces | |
namespace | Ark |
namespace | Ark::internal |
Typedefs | |
using | Ark::bytecode_t = std::vector< uint8_t > |
Enumerations | |
enum class | Ark::internal::NodeType { Ark::internal::Symbol , Ark::internal::Capture , Ark::internal::GetField , Ark::internal::Keyword , Ark::internal::String , Ark::internal::Number , Ark::internal::List , Ark::internal::Closure , Ark::internal::Macro , Ark::internal::Spread , Ark::internal::Unused } |
The different node types available. More... | |
enum class | Ark::internal::Keyword { Ark::internal::Fun , Ark::internal::Let , Ark::internal::Mut , Ark::internal::Set , Ark::internal::If , Ark::internal::While , Ark::internal::Begin , Ark::internal::Import , Ark::internal::Quote , Ark::internal::Del } |
The different keywords available. More... | |
Variables | |
constexpr std::array< std::string_view, 11 > | Ark::internal::nodeTypes |
constexpr std::array< std::string_view, 10 > | Ark::internal::keywords |
List of available keywords in ArkScript. | |
constexpr std::array< std::string_view, 25 > | Ark::internal::operators |
Common code for the compiler.
Definition in file Common.hpp.