First page Back Continue Last page Summary Graphic
Solutions for Exercise 1 (1)
1)
A = c { a | b }.
A = c { a b }.
A = { a } c { b }.
A = c { b } b c { b } { a }.
2)
Float = [ "+" | "-" ] Digit { Digit } "." Digit { Digit }
[ "e" [ "+" | "-" ] Digit { Digit } ].
5)
Result: 42
typical mistakes:
ts[i-1] different i (local i always 1, global i always 2)
bar() not called