-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReadMe.txt
More file actions
24 lines (21 loc) · 791 Bytes
/
ReadMe.txt
File metadata and controls
24 lines (21 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Author Priyanshu Sharma
--TestCases.java and NewFeatureTestCases.java contain the main funtion
--AST.java has all the classes defination for AST for WHILE Language and ASTFeature.java contains all the class defination for new features
--NewFeature performs all the operations just opposite from the defination
-Multiplication performs division
-Subtraction performs Addition
-Addition performs Subtraction
-Negation returns same boolean
-Equal returns negation of actual boolean
-Less Than performs Greater than
-And performs OR
-Or performs And
-Assign always assign 0 to the variable
-Sequential does not perform first command
-If command operated else's operation
Run The Code
javac TestCases.java
java TestCases
and
javac NewFeatureTestCases.java
java NewFeatureTestCases