




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















2
4
5
7
8
10
11
13
14
16
17
Productions Attribution Rules
Number → Sign List List.pos ← 0 if Sign.neg then Number.val ← – List.val else Number.val ← List.val
Sign → + (^) Sign.neg ← false
Sign → – (^) Sign.neg ← true
19
Productions Attribution Rules List 0 → List 1 Bit List 1 .pos ← List 0 .pos + 1 Bit.pos ← List 0 .pos List 0 .val ← List 1 .val + Bit.val
List → Bit Bit.pos ← List.pos List.val ← Bit.val
Bit → 0 Bit.val ← 0
Bit → 1 Bit.val ← 2 Bit.pos
20