Recall that Drewno Mars is a statically-scoped language. Assume a new variant of Drewno Mars, called Drewno Mars', that uses the exact same syntax as Drewno Mars but is dynamically-scoped. Provide an input file that would be valid in both Drewno Mars or Drewno Mars', but prints a different result based on which scoping system is used. Show what the output would be either under scheme.
Provide an input file that would be valid in Drewno Mars', but not in Drewno Mars.
Explain the difference between an SLR and an LR(0) parser. Provide an example grammar that is SLR-parseable but not LR(0) parseable.