发明名称 Method and apparatus for representation of a JavaScript program for execution by a JavaScript interpreter
摘要 A JavaScript program may be represented in an intermediate form to be executed by a JavaScript interpreter. A browser may be configured to intercept JavaScript code and pass execution control to a Java-based interpreter engine. The instructions are converted by a representation generator component of the engine into an intermediate representation equivalent using the Java programming language. The representation scheme may be suitable for execution by a stack-machine implemented interpreter. The representation scheme may use Java classes and objects, and create logical commands representing the JavaScript program. The intermediate representation may be stored as Java objects in a stack data structure. The stack data structure may be constructed from an array of elements, where each element is either an operator or an operand, and where each element derives from an abstract Java class with generic functionality and each element contains data relating to the operator or data type it represents.
申请公布号 US6951014(B1) 申请公布日期 2005.09.27
申请号 US20000714051 申请日期 2000.11.15
申请人 SUN MICROSYSTEMS, INC. 发明人 SOKOLOV STEPAN B.
分类号 G06F9/44;G06F9/45;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址