Font Size: a A A

The Research And Implementation Of An Embedded JavaScript Interpreter

Posted on:2004-05-06Degree:MasterType:Thesis
Country:ChinaCandidate:Y C WangFull Text:PDF
GTID:2168360095950926Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
The first contribution of this thesis is a new object model called OOC object model. The model is originally based on C++ object model, but with the embedded environment's resources restriction concerned, the model has low runtime overhead and low maintenance cost, and its performance in execution is comparative to C++ object model. We choose the C language, which should be the most popular high-level language supported in all embedded development environments, to implement a programming environment of the model. The front-end of the interpreter, which will be addressed in next paragraph, is totally implemented in this programming environment.The second contribution of this thesis is the design and implementation of an embedded JavaScript interpreter for the embedded web browser. In the interpreter, a front-end/back-end architecture is used to achieve a good degree of portability and extendibility, and a feedback-directed optimization framework is used to improve the interpreter's performance. Also, the interpreter provides the host environment with a set of well-defined APIs. At last, the interpreter has passed the strict test with JavaScript Test Library used by Mozilla browser. The testing results prove that the interpreter's correctness and robustness have reached a high level.
Keywords/Search Tags:Embedded Web Browser, JavaScript Interpreter, Object Model, Feedback-Directed Optimization
PDF Full Text Request
Related items