Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Recursive descent?

Definition 2.8 University Computer Science — Year 3 · Capítulo 2 — Top-Down Parsing

A recursive descent parser has one function per nonterminal. The function for AA looks at the next token (or the next few), chooses a production of AA, 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.

Ler no capítulo →