User Tools

Site Tools


fordprog:lr1pelda

This is an old revision of the document!



Warning: Declaration of syntax_plugin_gallery::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /afs/elte.hu/user/d/deva/web/pubwiki/lib/plugins/gallery/syntax.php on line 17

Warning: Declaration of syntax_plugin_gallery::render($mode, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /afs/elte.hu/user/d/deva/web/pubwiki/lib/plugins/gallery/syntax.php on line 17

Warning: Declaration of syntax_plugin_cellbg::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /afs/elte.hu/user/d/deva/web/pubwiki/lib/plugins/cellbg/syntax.php on line 0

Warning: Declaration of syntax_plugin_cellbg::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /afs/elte.hu/user/d/deva/web/pubwiki/lib/plugins/cellbg/syntax.php on line 0
S' -> S
S -> id | S + id

LR(1) kanonikus halmazok:

R0 = closure([S'→.S,#]) = {[S'→.S,#],[S→.id,#],[S→.S+id,#],[S→.id,+],[S→.S+id,+]}

R1 = read(R0,S) = closure([S'→S.,#],[S→S.+id,#],[S→S.+id,+])={[S'→S.,#],[S→S.+id,#],[S→S.+id,+]}

R2 = read(R0,id) = closure([S→id.,#],[S→id.,+]) = {[S→id.,#],[S→id.,+]}

fordprog/lr1pelda.1459767278.txt.gz · Last modified: 2016/04/04 12:54 by deva