compiles a script, and prepares it for execution with this class
errors, if any, or empty array
See Implementation
compiles a script, and prepares it for execution with this class