3 ms·
A similar way that Javascript is used as a data description language in the form of JSON. The Lua VM can be primed with a sandbox containing none or very few f
by whoopdedo 11y ago
A similar way that Javascript is used as a data description language in the form of JSON.
The Lua VM can be primed with a sandbox containing none or very few functions. This is sufficient to implement domain specific languages. For example,
Shape "circle" {
x = 10;
y = 20;
r = 5;
}
Is a Lua program if there is an appropriate definition of "Shape".