![]() |
ArkScript
A small, lisp-inspired, functional scripting language
|
#include <iostream>#include <optional>#include <filesystem>#include <cstdlib>#include <clipp.h>#include <fmt/core.h>#include <fmt/color.h>#include <Ark/Utils/Files.hpp>#include <Ark/Compiler/BytecodeReader.hpp>#include <Ark/VM/Value/Dict.hpp>#include <CLI/JsonCompiler.hpp>#include <CLI/REPL/Repl.hpp>#include <CLI/Formatter.hpp>Go to the source code of this file.
Macros | |
| #define | ARK_PRINT_SIZE(type) |
Functions | |
| int | main (int argc, char **argv) |
Variables | |
| constexpr int | ArkErrorExitCode = -1 |
| #define ARK_PRINT_SIZE | ( | type | ) |
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 23 of file main.cpp.
References Ark::All, ARK_COMPILER, ARK_FULL_VERSION, ARK_PRINT_SIZE, ArkErrorExitCode, Ark::Welder::bytecode(), Ark::BytecodeReader::checkMagic(), Ark::Code, Formatter::codeModified(), JsonCompiler::compile(), Ark::Welder::computeASTFromFile(), Ark::DefaultFeatures, Ark::BytecodeReader::display(), Ark::State::doFile(), Ark::State::doString(), Ark::FeatureASTOptimizer, Ark::FeatureDumpIR, Ark::FeatureImportSolver, Ark::FeatureIROptimizer, Ark::FeatureMacroProcessor, Ark::BytecodeReader::feed(), JsonCompiler::feed(), Ark::Welder::generateBytecode(), Ark::HeadersOnly, Ark::MaxValue16Bits, Formatter::output(), Ark::Repl::run(), Ark::VM::run(), Formatter::run(), Ark::State::setArgs(), Ark::State::setDebug(), Ark::Symbols, and Ark::Values.