{"id":20791005,"url":"https://github.com/momattar/parse-tree","last_synced_at":"2025-10-24T07:11:45.488Z","repository":{"id":252240600,"uuid":"839841927","full_name":"momattar/Parse-Tree","owner":"momattar","description":"Data structure project","archived":false,"fork":false,"pushed_at":"2024-08-08T13:04:14.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T00:43:21.880Z","etag":null,"topics":["data-structures","parse-tree"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/momattar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-08T12:37:45.000Z","updated_at":"2024-09-15T10:44:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"335d33c9-6b77-4c08-99af-cc0838d1f21a","html_url":"https://github.com/momattar/Parse-Tree","commit_stats":null,"previous_names":["momattar/parse-tree"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/momattar/Parse-Tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momattar%2FParse-Tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momattar%2FParse-Tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momattar%2FParse-Tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momattar%2FParse-Tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/momattar","download_url":"https://codeload.github.com/momattar/Parse-Tree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momattar%2FParse-Tree/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264631212,"owners_count":23640941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-structures","parse-tree"],"created_at":"2024-11-17T15:40:04.457Z","updated_at":"2025-10-24T07:11:45.373Z","avatar_url":"https://github.com/momattar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \n  # Parse Tree\n\u003c/div\u003e\n\n## Project purpose\nTo try to find a way to build and evaluate a parse tree if the expression has no parentheses at all.\n\n## Main points\nFirst converted the given infix expression to a postfix one, postfix cancels this using precedence as it encodes the operation from the new way it’s written, with no need of parenthesis.\n\nIf we encounter any arithmetic operators, we create a new binary tree with a root equals to this operator and then we pop twice from the stack to right and left children respectively push this tree to a Stack.\n\nIf we encounter operands , we create a new binary tree with a root equals to those operands and push this tree to a Stack.\n\n## Presentation\nHere's a powerpoint presentation contains idea, code and running example\n\n[Drive link](https://drive.google.com/drive/folders/179Sxg-qJLCuNZxKAqSfmBHPJqMyEYBY2?usp=sharing)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomattar%2Fparse-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmomattar%2Fparse-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomattar%2Fparse-tree/lists"}