File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 1- # Expression Tree Format
2-
3- An universal expression tree notation.
1+ # Universal Expression Tree
42
53## Overview
64
7- Expressions parse to trees. This document describes a format for those trees — minimal , JSON-compatible, and portable across languages.
5+ Expressions parse to trees. Minimal , JSON-compatible, and portable across languages.
86
97```
108[operator, ...operands] operation
119"name" identifier (resolved from context)
1210[, value] literal (returned as-is)
1311```
1412
15- That's the entire format.
16-
17-
18- ## Tree Structure
19-
2013An expression tree is one of three forms:
2114
2215### 1. Identifier
@@ -55,8 +48,7 @@ An array where the first element is the operator, followed by operands.
5548```
5649
5750
58-
59- ## Operator Reference
51+ ## Operators
6052
6153### Arithmetic
6254```
You can’t perform that action at this time.
0 commit comments