NASL Interpreter
I’ve been doing some work on the NASL interpreter the last couple of days. I did some minor code cleanup and I’ve started on creating stubs for the built-in functions.
As it stands today, the interpreter can take .nasl scripts and run them through a parser and lexer based on the NASL grammar. The functions and variables are recorded in a symbol table and then we start to interpet the code.
Once I’ve written code for all the stubs the interpreter will start working and be useful. I had gotten stuck working on this before but I think I’ve got a better handle on it this time.