NouVeL/ADVect/Bindings.cpp

19 lines
773 B
C++
Raw Normal View History

2022-05-09 01:50:09 -04:00
#include <Environment.h>
namespace ADVect {
void bind_NVL() {
auto f = [](NVL::Environment::Variable x) {
return NVL::Environment::Variable(NVL::Environment::Type::Nil);
};
2022-08-22 02:15:25 -04:00
NVL::Environment::ENVIRONMENT.enter(u"Hello", { f, 1 });
NVL::Environment::ENVIRONMENT.enter(u"Command", { f, 1 });
NVL::Environment::ENVIRONMENT.enter(u"Do", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(u"Set", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(u"This", { f, 1 });
NVL::Environment::ENVIRONMENT.enter(u"ClearDialog", { f, 0 });
NVL::Environment::ENVIRONMENT.enter(u"Choice", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(u"=?", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(u"+", { f, 2 });
NVL::Environment::ENVIRONMENT.enter(u"switch", { f, 2 });
2022-05-09 01:50:09 -04:00
}
}