有一件事我已经考虑了很久,却一直没去做,那就是将Bash的解析器重写为递归下降(recursive-descent)的方式,以取代bison。以前,我以为为了遵守Posix标准,这件事就非得做,但是后来我只需要少量修改就解决了这个问题。
基于28个网页-相关网页
recursive descent parser 递归下降解析器 ; [计] 递归下降分析程序
recursive-descent parsing 递归下降分析
recursive descent method 递归下降分析法
recursive descent analysis 递归下降分析法
recursive descent data flow analysis 递归下降资料流分析
The final parser composite is a non-deterministic recursive-descent parser with infinite look-ahead.
物 是一个非确定性的无限递推分析器。
In computer terms, this rule is also known as recursive tree descent.
以计算机术语表述,这条规则也可以称作递归树下行。
It is caused by recursively descending a composite data structure in such a way that, sometimes, more than one step in the descent is taken in a single recursive call.
它是由递归下行复合数据结构引起的,这种下行方式有时在一次递归调用中要下行多级。
应用推荐