全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Recursive descent?

Definition 2.8 University Computer Science — Year 3 · 第 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.

在原文中阅读 →