Adds support for primitive type variables in ProtoDef. Whereas a normal type would be an array or an object, a primitive type (string, numeric, boolean) can be used in switch statements and changed dynamically.
new addVariable to ProtodefCompiler, setVariable to CompiledProtodef
setVariable method in ProtoDef interpreter
/ at top of switch field will notate a context variable
Adds support for primitive type variables in ProtoDef. Whereas a normal type would be an array or an object, a primitive type (string, numeric, boolean) can be used in switch statements and changed dynamically.
addVariable
to ProtodefCompiler,setVariable
to CompiledProtodefsetVariable
method in ProtoDef interpreter