You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Jison at http://zaa.ch/jison/try/usf/index.html
to compare the FIRSTs & FOLLOWs my program output and Jison provided.(Jison helps a lot, thanks sincerely!)
And I found when I input the grammar, choosing LL(1),
Jison output incorrect FOLLOWs, exactly, the result looks like
direct_abstract_declarator
nullable: No
firsts: [,(
follows: ,,,,)
as you see, four continous terminal ,,
and output incorrect parsing table, in the colmn of terminal ,,
two identical production were filling in one blank.
Except this, I get the same FIRSTs and FOLLOWs from my program as Jison provided.
The text was updated successfully, but these errors were encountered:
kafmws
changed the title
It generates incorrect parsing table when using LL(1) algorithm.
It generates incorrect FOLLOWs and parsing table when using LL(1) algorithm.
Nov 30, 2019
I use Jison at http://zaa.ch/jison/try/usf/index.html
to compare the FIRSTs & FOLLOWs my program output and Jison provided.(Jison helps a lot, thanks sincerely!)
And I found when I input the grammar, choosing LL(1),
Jison output incorrect FOLLOWs, exactly, the result looks like
as you see, four continous terminal
,
,and output incorrect parsing table, in the colmn of terminal
,
,two identical production were filling in one blank.
Except this, I get the same FIRSTs and FOLLOWs from my program as Jison provided.
The compelete grammar is as follows:
The text was updated successfully, but these errors were encountered: