Commit b9226ca
committed
Evaluating expression and operators (Refs #51)[2]
* new files: py_visitor, py_utils, py_operators - to support needs for
py_visitor for now, usage of any for loose type checks for now
* py-interpreter - replaced dummy with PyVisitor
* py_visitor - rework visit*expr to work with ExprNS and FileInputStmt
* py_utils - reworked operandTranslator to work with TokenType
* py_operators - reworked to change es.UnaryOperator to TokenType1 parent 5a3f1ac commit b9226ca
File tree
4 files changed
+660
-3
lines changed- src/cse-machine
4 files changed
+660
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
0 commit comments