global{ verb test rl0 rand (or) rand =0 [Two cases] } thread{ frac_value = (0.2,(0.1,0.5)) random_thread
} OUTPUT should be this: If i give the above input to lex and yacc, based upon the checking of [ rand (or) rand=0 ] if it is "rand", then it should print as " verb test rl0 rand frac_value:L=0.1 frac_value:H=0.5" if it is "rand=0", then it should print as " verb test rl0 rand=0 frac_value=0.2". For this could someone please tell me how to write a lex and yacc program.