[ipxe-devel] Syntax check of ipxe-scripts available?

Robin Smidsrød robin at smidsrod.no
Wed Jul 24 13:33:26 UTC 2013


On 24.07.2013 15:22, Oliver Rath wrote:
> is there a possibility to check the correctness of ipxe-scripts before
> there are compiled in?

Not as far as I know. I toyed with an idea of writing a parser in Perl
(using the fancy Marpa::R2 module) for doing something like this, but it
never found the light of day.

This could've been useful for more than just syntax checking. It could
also be useful for doing syntax highlighting and code-completion in editors.

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?

-- Robin




More information about the ipxe-devel mailing list