LangProc / langproc-2017-lab

4 stars 8 forks source link

Problems using bin/eval_expr #65

Closed MayankSur closed 6 years ago

MayankSur commented 6 years ago

I've tested my parser using the testbench file and it seems to detect the expression : (x + 5) correctly. However, I am not able to use the bin/eval_expr file correctly and I'm not sure I'm making a mistake or whether there's a problem with my parser or something else.

My process : bin/eval_expr x 5 x+1 - (I use control + d) <- At this point, my compiler seems to be stuck and I don't understand why. I'm expecting an output of 6.00000

I am doing something wrong?