The context sensitivity of C's grammar
我们都知道YACC是一个parser生成器,它只能接受Contex Free Grammar(CFG);而且YACC当然可以产生C语言的parser。然而C语言的语法其实并不完全是CFG的(它是接近CFG的一种语法)。且看以下这篇文章。原文: http://eli.thegreenplace.net/2007/11/24/the-context-sensitivity-of-cs-gram
转载
2015-12-30 17:13:39 ·
704 阅读 ·
0 评论