From leavens@larch.cs.iastate.edu Sun Oct 15 17:16:33 2006 Date: Sun, 15 Oct 2006 17:16:33 -0500 (CDT) From: Gary T. Leavens To: Adam M Weber Cc: Steve Shaner Subject: Re: homework question #12 Hi Adam, On Sun, 15 Oct 2006, Adam M Weber wrote: > For number 12 on homework 6 do we have to make two define-datatypes? > One for expression and one for command? Yes, because each nonterminal corresponds to a variant-record type. Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ------------------------