⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 a Java program that reads a file containing instructions written in self-defined file (TPL in this c
💻 TXT
字号:
/**
* Author: Jing Han
* Date; 20/01/04
*Module: G6DICp
* Title: ICP Coursework 3
* SCSiT Username: jxh23m
*/G6DICP  Coursework 3
 


Files Submitted
---------------
1. readme.txt (this file)

2. Java bytecode: cw3a.class; cw3b.class; cw3c.class; cw3d.class; TPL.class; Tinteger.class; Tstring.class;

3. Java source code: cw3a.java; cw3b.java; cw3c.java; cw3d.java; 

4. factor.tpl 


Instruction Manual
------------------

All codes are written in Java, and may be executed on any platform with Java support.  They have only been tested on windowXP, Windows 98 and Solaris (Unix), using JDK 1.4.1 and JRE 1.3.1.  To install them, just copy the cw*.class file onto the hard disk of your computer.  If the JDK is installed on that computer then you may run the program by typing "java cw*" from the command line (assuming that you are working in the same directory as the cw*.class file).  If the JDK is not installed then you may obtain the Java Runtime Engine from Sun, and type "jre cw*" instead.(Tim Brailsford (2003)). 


The program is to interprate factor.tpl file or other files which use same reserved words into java code and then excute file. The file can take any integer number for calculation except take zero for division. The program also catches following unexcepted conditions from the file:
a. No end statement;
b.operator is outside of add, substruction, multiplication or division;












⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -