Ví dụ đời thườngReal-life analogy
Công thức trong Excel như =IF(A1>100, B1*0.9, B1) là một 'ngôn ngữ nhỏ'. Excel tách nó thành cây: IF ở gốc, phép so sánh và phép nhân ở các nhánh, ô và số ở lá. Muốn tính, Excel đi từ lá lên gốc. Mỗi loại nút chỉ cần biết tự tính phần của mình.An Excel formula like =IF(A1>100, B1*0.9, B1) is a 'little language'. Excel turns it into a tree: IF at the root, comparison and multiplication as branches, cells and numbers as leaves. To compute, it evaluates from leaves up to the root. Each node type only knows how to compute its own part.