diff --git a/include/pilang.hpp b/include/pilang.hpp index c8fe8e4..2706012 100644 --- a/include/pilang.hpp +++ b/include/pilang.hpp @@ -85,7 +85,10 @@ namespace Pilang3 { void *anybuf = nullptr; Environment() { - variableScope.push({}); + variableScope.push({ + {"true", std::make_shared(Variable{Variable::id_integer, 1})}, + {"false", std::make_shared(Variable{Variable::id_integer, 0})} + }); globalScope = &variableScope.top(); }