Skip to content

Priskuee/While_Language_Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages