Commit d9ffc84
committed
Attempt to reinstate Value [failed](Refs #51)[3]
* Updated compilerOptions in tsconfig.json - target: es2016 -> es2020
Reason: support for bigInt(0n)
* stash.ts - Reintroduce Value to be passed to visitors in pyvisitor
Updates: Failed lol, major changes that affects stdlib in src
Temp solution: fallback to Value : any in /cse-machine/stash.ts for now
* py_operators.ts - introduce bool for integers, string, None
(evaluteUnaryExpression)
* py_operator.ts refactored {evaluateBinaryExpression} - cleaner sequence
Operands: String -> Complex -> Mixed Float&/Int (arithmetic ->
comparisons) -> Integers only
* py_visitor.ts: added visitComplexExpr1 parent b9226ca commit d9ffc84
File tree
6 files changed
+320
-277
lines changed- src
- cse-machine
6 files changed
+320
-277
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments