From 7412fedeeb030bc00d8dd9dc9b3a883c8a94e9fc Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Mon, 2 Nov 2020 13:12:22 -0500 Subject: Keep character backing at the same height as the character --- docs/tutorial/expression.html | 116 +++++++++++++++++++++--------------------- 1 file changed, 58 insertions(+), 58 deletions(-) (limited to 'docs/tutorial/expression.html') diff --git a/docs/tutorial/expression.html b/docs/tutorial/expression.html index 0da607d5..b46349be 100644 --- a/docs/tutorial/expression.html +++ b/docs/tutorial/expression.html @@ -116,29 +116,29 @@

The evaluation order is shown below, with the function on the first line evaluated first, then × on the next, and so on. The effect of the parentheses is that ÷ is evaluated before the leftmost ×.

- + (4÷3) × π × 23 - - - - - - - - - + + + + + + + + + - 3 - - 2 - × - π - × - 3 - ÷ - 4 + 3 + + 2 + × + π + × + 3 + ÷ + 4 3 @@ -169,35 +169,35 @@

That's a fairly large expression, so here's another evaluation diagram to check your understanding.

- + (3 + 2×2) - 1+2 - - - - - - - - - - - - + + + + + + + + + + + + - 2 - - + - 1 - - - 2 - - × - 2 - + - 3 - + 2 + + + + 1 + - + 2 + + × + 2 + + + 3 + 2 @@ -348,24 +348,24 @@

It's past time we covered how the syntax for modifiers works. Remember how I told you you hated learning the order of operations? No? Good. Modifiers bind more tightly than functions, so they are called on their operands before their operands can be used. As the parentheses above suggest, modifiers also associate from left to right, the opposite order as functions. For example, the first expression above is evaluated in the order shown below. First we construct the square function ט, then compose it with +, and finally apply the result to some arguments.

- + 3 ט+ 4 - - - - - - - + + + + + + + - 4 - + - - ˜ - × - 3 + 4 + + + + ˜ + × + 3 4 -- cgit v1.2.3