Safe scripting language runtime - parse, interpret, call functions, return typed values with hard limits