NouVeL/ADVect/Bindings.cpp

21 lines
No EOL
897 B
C++

#include <Environment.h>
namespace ADVect {
void bind_NVL() {
auto f = [](NVL::Environment::Variable x) {
return NVL::Environment::Variable(NVL::Environment::Type::Nil);
};
NVL::Environment::ENVIRONMENT.enter(L"Hello", { f, 1 });
NVL::Environment::ENVIRONMENT.enter(L"Command", { f, 1 });
NVL::Environment::ENVIRONMENT.enter(L"Do", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(L"Set", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(L"This", { f, 1 });
NVL::Environment::ENVIRONMENT.enter(L"ClearDialog", { f, 0 });
NVL::Environment::ENVIRONMENT.enter(L"Choice", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(L"=?", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(L"+", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(L"switch", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(L"SwitchSpeaker", { f, 1 });
NVL::Environment::ENVIRONMENT.enter(L"Say", { f, 1 });
}
}