mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 16:23:04 +00:00
Fix some comments concerning LR(0) versus LALR(1).
Stop equating LR(0) with nondeterminism and LALR(1) with determinism. That is, if all states are consistent, then LR(0) tables are deterministic. On the other hand, LALR(1) tables might be nondeterministic before conflict resolution, and GLR permits LALR(1) tables to remain nondeterministic. * src/LR0.c, src/LR0.h: Here. * src/lalr.c, src/lalr.h: Here. * src/main.c (main): Here. * src/state.c, src/state.h: Here. * src/ielr.h (ielr): In preconditions, expect LR(0) not LALR(1) parser tables.
This commit is contained in:
17
ChangeLog
17
ChangeLog
@@ -1,3 +1,20 @@
|
||||
2010-01-04 Joel E. Denny <jdenny@clemson.edu>
|
||||
|
||||
Fix some comments concerning LR(0) versus LALR(1).
|
||||
|
||||
Stop equating LR(0) with nondeterminism and LALR(1) with
|
||||
determinism. That is, if all states are consistent, then LR(0)
|
||||
tables are deterministic. On the other hand, LALR(1) tables
|
||||
might be nondeterministic before conflict resolution, and GLR
|
||||
permits LALR(1) tables to remain nondeterministic.
|
||||
* src/LR0.c, src/LR0.h: Here.
|
||||
* src/lalr.c, src/lalr.h: Here.
|
||||
* src/main.c (main): Here.
|
||||
* src/state.c, src/state.h: Here.
|
||||
|
||||
* src/ielr.h (ielr): In preconditions, expect LR(0) not LALR(1)
|
||||
parser tables.
|
||||
|
||||
2010-01-04 Joel E. Denny <jdenny@clemson.edu>
|
||||
|
||||
maint: run "make update-copyright"
|
||||
|
||||
Reference in New Issue
Block a user