Part III Computer Science Project
Department of Electronics & Computer Science
University of Southampton
| Name: | Alex Walker |
| Title of Project: | JavaScript Parser and Error-Reporter |
| First Project Supervisor: | Ed Zaluska |
| Second Project Supervisor: | Gwil Edmonds |
In the Internet and Intranet Development industry, the scripting language JavaScript is used within an HTML document to control and interact with the web browser, and provide dynamic content. On the server, it is used to format pages on the fly, often including data from a database.
A regularly occurring problem is that JavaScript is interpreted at runtime by the web browser, not compiled in advance. This results in errors occurring at runtime. This may produce an error dialog box, or more often than not, the error will not be reported, and the script will not function correctly. This makes it hard to identify errors in the script, and hard to debug these errors.
The end result of this project will be a parser and error-checking program that will load a JavaScript file, and identify syntactical and grammatical errors within that script. It will also report on portability issues between browsers and common programming errors.