Wednesday, 27 June 2007

statement initiation for a parser/converter from Natural to JAVA

Statement initiation is basicly putting a leaf into the
instruction stack. The last leaf in the instruction stack
indicates the instruction that is related to the leafs in
the token stack. If reduction is used, instruction stack
becomes very useful.

void beginADDstatement()
string statement_text="";

head=object.push(head, "ADD", "ADD");
instrHead=instrObject.push(instrHead, "ADD", "ADD");