I need a help with interpretation compiler implemented in Java using the JavaCC, i already implemented Lexical, Syntax, Semantic analyzator, operators and condition 'if' and what i need is 'while' loop, i really dont know how i can implement this loop. I appreciate any help !
thx
interpretation compiler implemented in Java using the JavaCC - 'while' loop
Started by aston.havoc, Jun 06 2010 01:12 PM
1 reply to this topic
#1
Posted 06 June 2010 - 01:12 PM
|
|
|
#2
Posted 08 June 2010 - 06:27 AM
do you mean validating the while loop? or making a real loop?
if validating then it should not differ from the implementation of 'if'.
if you intend to run the code entered for testing then i guess you may try to call the java loop within the javaCC.
if validating then it should not differ from the implementation of 'if'.
if you intend to run the code entered for testing then i guess you may try to call the java loop within the javaCC.
"Recursion is just a line of code"
-Karim Hosny-
My flickr
-Karim Hosny-
My flickr


Sign In
Create Account

Back to top









