Script program execution device, script program execution method, and optical disk device
First Claim
1. A script program execution device which executes a script program described in a script language, the script program execution device comprising:
- an analysis unit which beforehand reads the script program to analyze a syntax of the script program, before the execution of the script program is instructed;
a storage unit which stores a syntax analysis result of the analysis unit;
a generation unit which generates an intermediate code from the script program by use of the syntax analysis result stored in the storage unit, when the execution of the script program is instructed; and
an execution unit which executes the intermediate code generated by the generation unit.
1 Assignment
0 Petitions
Accused Products
Abstract
A script program execution device comprises an analysis unit which beforehand reads a script program, to analyze a syntax of the script program, before the execution of the script program is instructed, a storage unit which stores a syntax analysis result of the analysis unit, a generation unit which generates an intermediate code from the script program by use of the syntax analysis result stored in the storage unit, when the execution of the script program is instructed, and an execution unit which executes the intermediate code generated by the generation unit. According to this device, an application described in a script language is started and switched at a high speed.
-
Citations
10 Claims
-
1. A script program execution device which executes a script program described in a script language, the script program execution device comprising:
-
an analysis unit which beforehand reads the script program to analyze a syntax of the script program, before the execution of the script program is instructed; a storage unit which stores a syntax analysis result of the analysis unit; a generation unit which generates an intermediate code from the script program by use of the syntax analysis result stored in the storage unit, when the execution of the script program is instructed; and an execution unit which executes the intermediate code generated by the generation unit. - View Dependent Claims (2, 3, 4)
-
-
5. An optical disk device to reproduce an optical disk in which an application including a plurality of script programs is recorded, the optical disk device comprising:
-
a disk drive which reproduces, by use of a light beam, information recorded in the optical disk; a reading unit which beforehand reads the script program from the optical disk, when the optical disk is inserted into the disk drive; an analysis unit which analyzes a syntax of the script program read by the reading unit; a storage unit which stores a syntax analysis result of the analysis unit; a generation unit which generates an intermediate code from the script program by use of the syntax analysis result stored in the storage unit, when execution of the application is instructed; and an execution unit which executes the intermediate code generated by the generation unit. - View Dependent Claims (6, 7, 8)
-
-
9. An script program execution method of executing a script program described in a script language, comprising:
-
beforehand reading the script program to analyze a syntax of the script program, before the execution of the script program is instructed; storing a syntax analysis result of the script program; generating an intermediate code from the script program by use of the stored syntax analysis result, when the execution of the script program is instructed; and executing the generated intermediate code. - View Dependent Claims (10)
-
Specification