Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Can any one help me about how to convert java conventional code in

  Asked By: Daisy    Date: Aug 15    Category: Java    Views: 937
  

class My
{
int x;
int y;

x = 3;
y = 4;

x = x + 4;
y = y + 8;

io.print(x);
io.print(y);
}

fist i want to write say that SSA is Static Single Assignment form
in which every variable has unique value in memory.

Now i want to read class of java and read line by line then convert
in tokens then i think therw will be the solution but still i can
not do this.

If any one know so please email me i am waiting for u all.



in SSA form
class My
{
int x0;
int y0;

x0 = 3;
y0 = 4;

x1 = x0 + 4;
y1 = y0 + 8;

io.print(x1);
io.print(y1);
}

Share: 

 

No Answers Found. Be the First, To Post Answer.

 




Tagged: