📄 references
字号:
From phr Tue Jul 8 10:36:19 1986Date: Tue, 8 Jul 86 00:52:24 EDTFrom: phr (Paul Rubin)To: riferguson%watmath.waterloo.edu@CSNET-RELAY.ARPA, towerSubject: Re: Bison documentation?The main difference between Bison and Yacc that I know of is thatBison supports the @N construction, which gives you access tothe starting and ending line number and character number associatedwith any of the symbols in the current rule.Also, Bison supports the command `%expect N' which says not to mentionthe conflicts if there are N shift/reduce conflicts and no reduce/reduceconflicts.The differences in the algorithms stem mainly from the horriblekludges that Johnson had to perpetrate to make Yacc fit in a PDP-11.Also, Bison uses a faster but less space-efficient encoding for theparse tables (see Corbett's PhD thesis from Berkeley, "StaticSemantics in Compiler Error Recovery", June 1985, Report No. UCB/CSD85/251), and more modern technique for generating the lookahead sets.(See "Efficient Construction of LALR(1) Lookahead Sets" by F. DeRemerand A. Pennello, in ACM TOPLS Vol 4 No 4, October 1982. Theirtechnique is the standard one now.) paul rubin free software foundation
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -