-a simple c-like language with support for if/else-statements, while-loops and the standard arithmetic (+, -, /, *) and comparison expressions (<, >, <=, >=, ==, !=). also, post increase/decrease expressions (++, --) are supported. Assignments are allowed in expressions, but they are only allowed on the right side of arithmetic/comparision operators if they are put inside parenthesis
-
-
-data types:
-integers and booleans.
-
-comments:
-// and /* */ comments are allowed.
-
-(For compilation to work the Bool type in Abssyntax has to be removed so the internal haskell type is used)
-
-shift/reduce conflicts:
-
-if with else: 1 conflict
-An if statement before the else could be reduced to an if statement lacking the else, but the correct thing is to shift it onto the stack.