next up previous contents index
Next: Memory management Up: How it works Previous: The syntax tree   Contents   Index

The interpretor

To iterate is human, to recurse is divine.
The entry point is nasl_exec. This function takes two arguments (a ``lexical context'' and a ``tree cell'') and returns the result another ``tree cell'', the result of the evaluation of the a ``tree cell'' in the ``context''. To perform its job, nasl_exec calls itself again and again45.

Michel Arboi 2005-04-29