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

SCM Repository

[diderot] Diff of /trunk/doc/report/grammar-defs.tex
ViewVC logotype

Diff of /trunk/doc/report/grammar-defs.tex

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

revision 100, Fri May 28 14:45:44 2010 UTC revision 101, Fri May 28 15:16:21 2010 UTC
# Line 29  Line 29 
29    \end{Rules}}    \end{Rules}}
30  \newcommand{\ParamRULES}{  \newcommand{\ParamRULES}{
31    \begin{Rules}{Param}    \begin{Rules}{Param}
32      \RHS{\nt{Type} \term{Id}}      \RHS{\nt{ValueType} \term{Id}}
33    \end{Rules}}    \end{Rules}}
34  \newcommand{\ActorMethodRULES}{  \newcommand{\ActorMethodRULES}{
35    \begin{Rules}{ActorMethod}    \begin{Rules}{ActorMethod}
# Line 56  Line 56 
56    \end{Rules}}    \end{Rules}}
57  \newcommand{\TypeRULES}{  \newcommand{\TypeRULES}{
58    \begin{Rules}{Type}    \begin{Rules}{Type}
59      \RHS{\kw{image} \kw{(} \nt{Dimension} \kw{)} \nt{Dimensions}}      \RHS{\nt{ValueType} \LISTGRP{\kw{[} \term{Int} \kw{]}}}
60      \RHS{\kw{field} \kw{\#} \nt{Dimension} \kw{(} \nt{Dimension} \kw{)} \nt{Dimensions}}      \RHS{\kw{image} \kw{(} \term{Int} \kw{)} \nt{Dimensions}}
61      \RHS{\kw{kernel} \kw{\#} \nt{Dimension}}      \RHS{\kw{field} \kw{\#} \term{Int} \kw{(} \term{Int} \kw{)} \nt{Dimensions}}
62      \RHS{\nt{ValueType} \LISTGRP{\kw{[} \nt{Dimension} \kw{]}}}      \RHS{\kw{kernel} \kw{\#} \term{Int}}
63    \end{Rules}}    \end{Rules}}
64  \newcommand{\ValueTypeRULES}{  \newcommand{\ValueTypeRULES}{
65    \begin{Rules}{ValueType}    \begin{Rules}{ValueType}
     \RHS{\kw{tensor} \nt{Dimensions}}  
     \RHS{\kw{vec2}}  
     \RHS{\kw{vec3}}  
     \RHS{\kw{vec4}}  
66      \RHS{\kw{bool}}      \RHS{\kw{bool}}
67      \RHS{\kw{int}}      \RHS{\kw{int}}
     \RHS{\kw{real}}  
68      \RHS{\kw{string}}      \RHS{\kw{string}}
69        \RHS{\kw{real}}
70        \RHS{\kw{vec2}}
71        \RHS{\kw{vec3}}
72        \RHS{\kw{vec4}}
73        \RHS{\kw{tensor} \nt{Dimensions}}
74    \end{Rules}}    \end{Rules}}
75  \newcommand{\DimensionsRULES}{  \newcommand{\DimensionsRULES}{
76    \begin{Rules}{Dimensions}    \begin{Rules}{Dimensions}
77      \RHS{\kw{[} \OPTGRP{\nt{Dimension} \LISTGRP{\kw{,} \nt{Dimension}}} \kw{]}}      \RHS{\kw{[} \OPTGRP{\nt{\term{Int}} \LISTGRP{\kw{,} \nt{\term{Int}}}} \kw{]}}
   \end{Rules}}  
 \newcommand{\DimensionRULES}{  
   \begin{Rules}{Dimension}  
     \RHS{\term{Int}}  
78    \end{Rules}}    \end{Rules}}
79  \newcommand{\CoordinationDeclRULES}{  \newcommand{\CoordinationDeclRULES}{
80    \begin{Rules}{CoordinationDecl}    \begin{Rules}{CoordinationDecl}

Legend:
Removed from v.100  
changed lines
  Added in v.101

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