Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
Class Notes for CS 819A4 -Spring 2003 2. Expressions, Commands, and Assertions
 

Summary: 17
Class Notes for CS 819A4 - Spring 2003
2. Expressions, Commands, and Assertions
John C. Reynolds
Department of Computer Science
Carnegie Mellon University
Revised May 23, 2003
c
2003 John C. Reynolds

18
Syntax of the Programming Language
hexpi ::= 0 j 1 j 2 j   
j hvari j hexpi j hexpi + hexpi j hexpi hexpi
j hexpi  hexpi j   
hboolexpi ::= true j false
j hexpi = hexpi j hexpi 6= hexpi j   
j : hboolexpi j hboolexpi ^ hboolexpi j hboolexpi _ hboolexpi
j hboolexpi ) hboolexpi j hboolexpi , hboolexpi
hcommi ::= hvari := hexpi j skip j hcommi ; hcommi

  

Source: Andrews, Peter B. - Department of Mathematical Sciences, Carnegie Mellon University

 

Collections: Mathematics