On Sat, 5 Feb 2011, Philip Pemberton wrote:
Here's an example DriveSpec file:
(snip)
In about 60 lines of code, again mostly comments,
we've added support for
three types of disc. Not bad. You could even go as far as generating all of
these in code when the script loads.
So on to the point of my message: does anyone have any comments to make on
this type of config file format?
Is there anything you'd like to see added, or done differently?
That's actually quite clear and lua is not as scary as I thought it might
be (had it confused with Erlang in my head).
Does the scripting language talk to a C/C++ library at the low level, or
do you twiddle bits directly? IF the former (and I mentioned this in a
note to you already) it should be possible to auto-generate script
bindings with SWIG and offer scripting support under, e.g. Perl, Python,
etc. in addition to Lua. Can you elaborate just a wee bit on how the
script talks to hardware?
Steve
--