/// <inheritdoc />
        public IEnumerable <OpcodeSpec> Read(string script, string basePath)
        {
            opcodespecs = new List <OpcodeSpec>();
            reader      = new ScriptReader(tokenizer.Tokenize(script));

            this.basePath = basePath != null ? basePath : Directory.GetCurrentDirectory();

            Execute();
            return(opcodespecs);
        }
        /// <inheritdoc />
        public IEnumerable<OpcodeSpec> Read(string script, string basePath)
        {
            opcodespecs = new List<OpcodeSpec>();
            reader = new ScriptReader(tokenizer.Tokenize(script));

            this.basePath = basePath != null ? basePath : Directory.GetCurrentDirectory();

            Execute();
            return opcodespecs;
        }