summary refs log tree commit diff
path: root/pc-thing/the_e_programming_language/ast.json
diff options
context:
space:
mode:
Diffstat (limited to 'pc-thing/the_e_programming_language/ast.json')
-rw-r--r--pc-thing/the_e_programming_language/ast.json79
1 files changed, 0 insertions, 79 deletions
diff --git a/pc-thing/the_e_programming_language/ast.json b/pc-thing/the_e_programming_language/ast.json
deleted file mode 100644
index faf9b67..0000000
--- a/pc-thing/the_e_programming_language/ast.json
+++ /dev/null
@@ -1,79 +0,0 @@
-[
-    {
-        "type": "VariableDeclaration",
-        "identifier": "buff",
-        "value": {
-            "type": "Number",
-            "value": 0
-        },
-        "vtype": "int",
-        "length": 4
-    },
-    {
-        "type": "VariableDeclaration",
-        "identifier": "counter",
-        "value": {
-            "type": "Number",
-            "value": 0
-        },
-        "vtype": "int",
-        "length": 1
-    },
-    {
-        "type": "FunctionDeclaration",
-        "name": "_start",
-        "body": [
-            {
-                "type": "While",
-                "condition": {
-                    "type": "BinaryExpression",
-                    "operator": "<",
-                    "left": {
-                        "type": "Identifier",
-                        "name": "counter"
-                    },
-                    "right": {
-                        "type": "Number",
-                        "value": 4
-                    }
-                },
-                "branch": [
-                    {
-                        "type": "Assignment",
-                        "identifier": {
-                            "type": "Identifier",
-                            "name": "buff",
-                            "offset": {
-                                "type": "Identifier",
-                                "name": "counter"
-                            }
-                        },
-                        "value": {
-                            "type": "Identifier",
-                            "name": "counter"
-                        }
-                    },
-                    {
-                        "type": "Assignment",
-                        "identifier": {
-                            "type": "Identifier",
-                            "name": "counter"
-                        },
-                        "value": {
-                            "type": "BinaryExpression",
-                            "operator": "+",
-                            "left": {
-                                "type": "Identifier",
-                                "name": "counter"
-                            },
-                            "right": {
-                                "type": "Number",
-                                "value": 1
-                            }
-                        }
-                    }
-                ]
-            }
-        ]
-    }
-]
\ No newline at end of file