machine: fix memleak while freeing string variable
parser: add reference to script to function
machine: fix error check
machine: fix support for NOP expression
machine: fix evaluation of identifier
machine: add support for function calls