True I feel it set of viable prefixes of any grammar is regular as we can create a NFA to recognize them
sorry i never did it.
but i had seen it is sum what similar to SLR parsing where we shift the "." from left to right on seeing apropriate symbol but here even ∊ moves are allowed. i got no idea of it
don't worry i am sure sirs and others gonna help you here .
ANI do you know LIVE VARIABLE concept i mean to say is how to analysis variable is live or dead.
a variable x is said to be live if
there is any statement that uses value of x next to that statement
or x is in RHS of any statement as a function or determinant .
if x is not refered in the next statement the liveness will be unaltered .
if betwn two statement S and S' x is not assinged the value assigned value as any assingment would kill its present value