Topic: case statement
ThesaHelp: references p-r
Topic: assigning values to statements
Topic: operator precedence
Topic: function definition
| |
Reference
Rain, M.,
"Operation expressions in Mary",
SIGPLAN, 8, 1, pp. 7-14, January 1973.
Google
Notes
Mary is a simple derivative of Algol 68
Quotations
QuoteRef: rainM1_1973 ;;10 precedence in Mary is purely left to right eg a[j,k] if b then *10 else +i-5 fi =: i; this produces optimum code as well
| QuoteRef: rainM1_1973 ;;11 can embed case statements in expressions.
| QuoteRef: rainM1_1973 ;;12 monadic operators occur after the operand
| QuoteRef: rainM1_1973 ;;13 define operations by OP abs (Val int a)=(a if operand < O then -fi) $; generates a test skip over a negate
|
Related Topics
Topic: case statement (25 items)
ThesaHelp: references p-r (245 items)
Topic: assigning values to statements (7 items)
Topic: operator precedence (13 items)
Topic: function definition (25 items)
|