This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Description
Change the AST module to use nodes of the following scheme:
@dataclass
class Node:
name: str
type: str # One of the possible types, sub classes such as VariableNode can use base types here
value: Any
below: Optional[List["Node"]] = None # Requires from __future__ import annotations
arguments: Optional[List[str]] = None # Subject to of change, arguments or annotations for the node
Sub classes will inherit from them but use a custom __init__ method. The nodes of a program are stored in a list containing one item, the program node (contains args passed from the shell and the name of the file).
Todo: