ArkScript
A small, fast, functional and scripting language for video games
|
Constants used by ArkScript. More...
#include <string_view>
#include <cinttypes>
#include <cstddef>
Go to the source code of this file.
Namespaces | |
namespace | Ark |
Macros | |
#define | ARK_COMPILER "AppleClang" |
#define | ARK_CACHE_DIRNAME "__arkscript__" |
#define | ARK_NO_NAME_FILE "FILE" |
#define | ARK_PLATFORM_NAME "Other" |
Variables | |
constexpr int | ARK_VERSION_MAJOR = 4 |
constexpr int | ARK_VERSION_MINOR = 0 |
constexpr int | ARK_VERSION_PATCH = 0 |
constexpr std::string_view | ARK_VERSION { "4.0.0" } |
constexpr std::string_view | ARK_FULL_VERSION { "4.0.0-2266f3b8" } |
constexpr uint16_t | Ark::FeatureImportSolver = 1 << 0 |
constexpr uint16_t | Ark::FeatureMacroProcessor = 1 << 1 |
constexpr uint16_t | Ark::FeatureASTOptimizer = 1 << 2 |
constexpr uint16_t | Ark::FeatureIROptimizer = 1 << 3 |
constexpr uint16_t | Ark::FeatureDumpIR = 1 << 14 |
constexpr uint16_t | Ark::FeatureTestFailOnException = 1 << 15 |
This feature should only be used in tests, to disable diagnostics generation and enable exceptions to be thrown. | |
constexpr uint16_t | Ark::DefaultFeatures |
constexpr std::size_t | Ark::MaxMacroProcessingDepth = 256 |
Controls the number of recursive calls to MacroProcessor::processNode. | |
constexpr std::size_t | Ark::MaxMacroUnificationDepth = 256 |
Controls the number of recursive calls to MacroProcessor::unify. | |
constexpr std::size_t | Ark::VMStackSize = 8192 |
Constants used by ArkScript.
Definition in file Constants.hpp.
#define ARK_CACHE_DIRNAME "__arkscript__" |
Definition at line 26 of file Constants.hpp.
Referenced by Ark::State::doFile().
#define ARK_COMPILER "AppleClang" |
Definition at line 25 of file Constants.hpp.
Referenced by main().
#define ARK_NO_NAME_FILE "FILE" |
Definition at line 27 of file Constants.hpp.
Referenced by Ark::Welder::computeASTFromString(), Ark::Diagnostics::generate(), Ark::Diagnostics::helper(), Ark::VM::loadPlugin(), Ark::Diagnostics::makeContextWithNode(), Formatter::run(), Formatter::runWithString(), and Formatter::warnIfCommentsWereRemoved().
#define ARK_PLATFORM_NAME "Other" |
Definition at line 40 of file Constants.hpp.
Referenced by Ark::State::setArgs().
|
constexpr |
Definition at line 23 of file Constants.hpp.
Referenced by main().
|
constexpr |
Definition at line 22 of file Constants.hpp.
Referenced by Ark::State::configure().
|
constexpr |
Definition at line 18 of file Constants.hpp.
Referenced by Ark::State::configure(), and Ark::internal::IRCompiler::pushFileHeader().
|
constexpr |
Definition at line 19 of file Constants.hpp.
Referenced by Ark::internal::IRCompiler::pushFileHeader().
|
constexpr |
Definition at line 20 of file Constants.hpp.
Referenced by Ark::internal::IRCompiler::pushFileHeader().