diff options
Diffstat (limited to 'paper/ast.tex')
-rw-r--r-- | paper/ast.tex | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/paper/ast.tex b/paper/ast.tex index 07553bd..97feb04 100644 --- a/paper/ast.tex +++ b/paper/ast.tex @@ -11,9 +11,7 @@ translates almost directly to a type definition: Note that we have added common binary operators like \CI{Lt} that did not exist in the grammar of \autoref{sec:intro:while}. These operators could also be constructed from other boolean expressions. We have also added \CI{Div} for -integer division. It is a useful addition in this example, as it will force us -to implement error handling in the evaluation of arithmetic expressions when we -divide by zero. +integer division. As an example, the example program from \autoref{sec:intro:while} would be stored in the AST as follows: |