delorie.com/archives/browse.cgi | search |
> On 6 Feb 2015, at 18:44, gedau AT igor2 DOT repo DOT hu wrote: > > So the question is: what's the smallest C or python or awk or whatever non-lua program you can write that can parse the file _without_ depending on a lua interpreter? And how far can it go supporting the user exploiting lua features? What is the problem with depending on a Lua interpreter? Please bear in mind that we're not talking about a behemoth like Python or PERL here, with numerous dependencies and files scattered over the system. Lua is a single C library with a simple API, about 50kB in size that can be statically linked if you want. Bindings to other languages of choice are available. I think Lua is being skewed in people's minds by the terms 'script' and 'interpreter'. In use Lua behaves much more like an XML or YAML library. Chris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |