A recursive descent parser has one function per nonterminal. The function for looks at the next token (or the next few), chooses a production of , and runs through its right side: it consumes each terminal and calls the function of each nonterminal. The call stack of the program plays the part of the parser’s stack.
Computer Science · शब्दावली