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
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel