ArkScript
A small, lisp-inspired, functional scripting language
DefaultValues.hpp
Go to the documentation of this file.
1
/*
2
* @file DefaultValues.hpp
3
* @author Lex Plateau (lexplt.dev@gmail.com)
4
* @brief Defines default values to be used by the VM
5
* @date 2025-08-10
6
*
7
* @copyright Copyright (c) 2025
8
*
9
*/
10
11
#ifndef ARK_VM_DEFAULTVALUES_HPP
12
#define ARK_VM_DEFAULTVALUES_HPP
13
14
#include <
Ark/VM/Value.hpp
>
15
16
namespace
Ark
17
{
18
/// ArkScript Nil value
19
const
auto
Nil
=
Value
(
ValueType::Nil
);
20
/// ArkScript False value
21
const
auto
False
=
Value
(
ValueType::False
);
22
/// ArkScript True value
23
const
auto
True
=
Value
(
ValueType::True
);
24
}
25
26
#endif
// ARK_VM_DEFAULTVALUES_HPP
Value.hpp
Default value type handled by the virtual machine.
Ark::Value
Definition
Value.hpp:91
Ark
Definition
Builtins.hpp:19
Ark::False
const auto False
ArkScript False value.
Definition
DefaultValues.hpp:21
Ark::Nil
const auto Nil
ArkScript Nil value.
Definition
DefaultValues.hpp:19
Ark::True
const auto True
ArkScript True value.
Definition
DefaultValues.hpp:23
Ark::ValueType::Nil
@ Nil
Ark::ValueType::True
@ True
Ark::ValueType::False
@ False
include
Ark
VM
DefaultValues.hpp
Generated on Sun Sep 28 2025 15:55:36 for ArkScript by
1.12.0