Time complexity of parsing algorithms -


i want write c++ program parse input file of following form.

input $input1, $in2, $anotherinput, $a, $b, $x; output $out1, $out2, $k; $xyz = $a + $b + $x; $k = $xyz - $in2; ........ ........ ....... $out1 = $k + $b; 

input file can have more 10,000 lines. of lines of form $a = $b + $c. efficient parsing algorithm used in terms of time complexity.

go simplest algorithm. suggest recursive descent prasing.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -