input to be parsed to produce a node tree
-
Hi, Does anyone have a program written in C++ that would allow input of C type syntax e.g. if(x>0 && x<9), parse this statement and produce a node tree. I have being doing some research and have code written to read in the statement and split each item, but from here I am lost. I think I am supposed to use a LALR analyser and produce a syntax tree. Any help appreciated from a stressed out woman! :confused:
-
Hi, Does anyone have a program written in C++ that would allow input of C type syntax e.g. if(x>0 && x<9), parse this statement and produce a node tree. I have being doing some research and have code written to read in the statement and split each item, but from here I am lost. I think I am supposed to use a LALR analyser and produce a syntax tree. Any help appreciated from a stressed out woman! :confused: