Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
courses:cs331-201701:semact [2018/10/16 01:39]
sellis [Semantic Actions (Phase I)]
courses:cs331-201701:semact [2018/10/16 01:59]
sellis [Design]
Line 13: Line 13:
 ==== Design ==== ==== Design ====
  
-To implement the semantic actions, you will use [[https://​www.cs.vassar.edu/​~cs331/​proj/​04_semact1/​TVI_Grammar_Augmented.txt|an augmented version of the original ​grammar]] that includes semantic actions in the right hand sides of most productions. The parser must be modified to recognize the presence of a semantic action on the stack top and call the appropriate routine when it does.+To implement the semantic actions, you will use [[https://​www.cs.vassar.edu/​~cs331/​proj/​04_semact1/​TVI_Grammar_Augmented.txt|an augmented version of the Vascal ​grammar]] that includes semantic actions in the right hand sides of most productions. The parser must be modified to recognize the presence of a semantic action on the stack top and call the appropriate routine when it does.
  
 The semantic actions are the biggest part of the compiler, in part because this is where all the pieces you have developed finally start working together. Therefore, this part of the project is itself divided into four phases, each due on a given date between now and the time the entire project is due. The due dates are listed on the [[project|Project page]]. The semantic actions are the biggest part of the compiler, in part because this is where all the pieces you have developed finally start working together. Therefore, this part of the project is itself divided into four phases, each due on a given date between now and the time the entire project is due. The due dates are listed on the [[project|Project page]].