In this assignment, you will practice writing DFAs, write a maximal munch scanner, and a scanner specifically for the Lacs language.
Complete the implementations of the DFAs in A7.scala.
Complete the implementations of recognize
and
maximalMunchScan
in Scanning.scala.
Complete the implementations of dfa
and
scan
in Lacs.scala. You
can find the specification of the Lacs language
here.