A similar way that Javascript is used as a data description language in the form of JSON.<p>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,<p><pre><code>    Shape &quot;circle&quot; {
        x = 10;
        y = 20;
        r = 5;
    }
</code></pre>
Is a Lua program if there is an appropriate definition of &quot;Shape&quot;.