Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/pure-cfg/doc/report/lang.tex
ViewVC logotype

Diff of /branches/pure-cfg/doc/report/lang.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 941, Fri Apr 22 14:16:39 2011 UTC revision 942, Fri Apr 22 14:17:32 2011 UTC
# Line 24  Line 24 
24  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
25  \section{Expressions}  \section{Expressions}
26    
27    In this section, we describe Diderot's expression syntax.
28    The section is organized from lowest to highest precedence.
29    
30  \subsection{Conditional expressions}  \subsection{Conditional expressions}
31  There are three conditional expression forms in Diderot:  There are three conditional expression forms in Diderot:
32  \emph{if-else} expressions, \emph{or-else} expressions, and \emph{and-also}  \emph{if-else} expressions, \emph{or-else} expressions, and \emph{and-also}
# Line 80  Line 83 
83  \subsection{Binary expressions}  \subsection{Binary expressions}
84  \begin{Grammar}  \begin{Grammar}
85    \CmpExprRULES{}    \CmpExprRULES{}
   \AddExprRULES{}  
   \MulExprRULES{}  
86    \CmpOpRULES{}    \CmpOpRULES{}
87      \AddExprRULES{}
88    \AddOpRULES{}    \AddOpRULES{}
89      \MulExprRULES{}
90    \MulOpRULES{}    \MulOpRULES{}
91  \end{Grammar}%    \PowerExprRULES{}
   
 \subsection{Field-probe expressions}  
 \begin{Grammar}  
92    \ProbeExprRULES{}    \ProbeExprRULES{}
93  \end{Grammar}%  \end{Grammar}%
94    
95  \subsection{Unary expressions}  \subsection{Prefix-operator expressions}
96  \begin{Grammar}  \begin{Grammar}
97    \PrefixExprRULES{}    \PrefixExprRULES{}
98  \end{Grammar}%  \end{Grammar}%
99    
100  \subsection{Tensor-slice expressions}  \subsection{Suffix-operator expressions}
101  \begin{Grammar}  \begin{Grammar}
102    \SliceExprRULES{}    \SuffixExprRULES{}
103      \SuffixRULES{}
104    \IndexRULES{}    \IndexRULES{}
105  \end{Grammar}%  \end{Grammar}%
106    
107    \subsection{Derivative expressions}
108    \begin{Grammar}
109      \DerivExprRULES{}
110    \end{Grammar}%
111    
112  \subsection{Atomic expressions}  \subsection{Atomic expressions}
113  \begin{Grammar}  \begin{Grammar}
114    \AtomExprRULES{}    \AtomExprRULES{}

Legend:
Removed from v.941  
changed lines
  Added in v.942

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0