
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A university homework assignment for cosc 4780, due on february 17, 2009. Students are required to understand the meaning of commands and boolexp based on the definitions given in figure 1.7 of schmidt. The assignment also asks students to examine the code provided on the course webpage to see how the semantic domains given in figure 1.6 have been translated into ml, using the ml if ... Then ... Else construct.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!
HW 10 Prof. Caldwell Due: 17 February 2009 COSC 4780
Write meaning of command and meaning of boolexp based on the definitions given in figure 1. (pg. 14 of Schmidt). Recall, I said in class that an alternative meaning for while commands to the one given in the book is as follows:
[while E do C od : comm] = if([E: boolexp], [C ; while E do C od: comm], s)
Use the code given on the course web-page to implement your function. Examine that code, especially meaning of intexp to see how the types and operations of the semantic domains given in Fig 1.6 (pg 13 Schmidt) have been translated into ML. In particular, use the ML if ... then .. else ... construct and do not write your own. Why?