This commit is contained in:
Crizomb 2023-07-31 04:39:20 +02:00 committed by GitHub
parent 24388aecb3
commit c8b06176bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 305 additions and 0 deletions

13
python_symb/expr.py Normal file
View file

@ -0,0 +1,13 @@
from __future__ import annotations
from typing import Union, List, Tuple, Optional, Dict, Callable
from tree import Tree
from operator import Add, Mul, Neg, Parenthesis
class Expr(Tree):
def __init__(self, value, children=None):
super().__init__(value, children)