17.01.2015 Views

S - Intranet - Department of Computer Science: Login

S - Intranet - Department of Computer Science: Login

S - Intranet - Department of Computer Science: Login

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LR(0) vs. SLR<br />

• LR(0) - here we do not look at the next symbol in the<br />

input before we decide whether to shift or to reduce<br />

• SLR - here we do look at the next symbol<br />

– reduce X→αis only necessary, when the next terminal y is<br />

in follow(X)<br />

– this rule removes at lot <strong>of</strong> potential s/r- or r/r-conflicts<br />

47

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!