[ipxe-devel] Syntax check of ipxe-scripts available?
Michael Brown
mbrown at fensystems.co.uk
Fri Sep 6 16:23:05 UTC 2013
On 24/07/13 14:33, Robin Smidsrød wrote:
> Michael: Is the script parser well factored out, or is it _everywhere_?
> I'm assuming it doesn't compile down to a proper AST, does it?
No, it doesn't get compiled at all. You can't sensibly syntax-check the
script before runtime because you could legitimately do something like:
#!ipxe
read command
${command} some arguments
in which the command to be executed cannot be known in advance.
Michael
More information about the ipxe-devel
mailing list