{"id":23909793,"url":"https://github.com/foufoujoujou/binary-expression-evaluator","last_synced_at":"2025-10-09T03:41:21.343Z","repository":{"id":240110154,"uuid":"661485846","full_name":"FouFouJouJou/binary-expression-evaluator","owner":"FouFouJouJou","description":"A binary expression evaluator as test study for a pascal mini compiler","archived":false,"fork":false,"pushed_at":"2025-05-18T13:04:28.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T13:50:29.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FouFouJouJou.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-03T01:34:37.000Z","updated_at":"2025-05-18T13:04:31.000Z","dependencies_parsed_at":"2024-05-16T19:56:40.356Z","dependency_job_id":"6935805a-22b8-453f-959a-482707739f88","html_url":"https://github.com/FouFouJouJou/binary-expression-evaluator","commit_stats":null,"previous_names":["foufoujoujou/binary-expression-evaluator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FouFouJouJou/binary-expression-evaluator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FouFouJouJou%2Fbinary-expression-evaluator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FouFouJouJou%2Fbinary-expression-evaluator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FouFouJouJou%2Fbinary-expression-evaluator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FouFouJouJou%2Fbinary-expression-evaluator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FouFouJouJou","download_url":"https://codeload.github.com/FouFouJouJou/binary-expression-evaluator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FouFouJouJou%2Fbinary-expression-evaluator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000714,"owners_count":26082911,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-05T06:33:08.569Z","updated_at":"2025-10-09T03:41:21.338Z","avatar_url":"https://github.com/FouFouJouJou.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+TITLE: Binary expression evaluator in RAW C\n** Description\nAn attempt to compile and run a binary expression for my mini pascal compiler project.\n** Resouces\n- [[https://web.stonehill.edu/compsci/CS104/Stuff/Infix%20and%20%20postfix%20expressions.pdf][Infix and postfix expressions]]\n- [[https://en.wikipedia.org/wiki/Binary_expression_tree][Binary expression tree]]\n** Instructions\n*** To run the program with an expression passed as a command line argument:\n#+BEGIN_SRC bash\n  mkdir \u003cbuild_directory\u003e\n  cd \u003cbuild_directroy\u003e\n  cmake ..\n  make\n  ./main help\n#+END_SRC\n\n* TODO Functionality [8/9]\n  - [X] Help\n  - [X] Basic operation parsing[4/4]\n    - [X] +\n    - [X] -\n    - [X] /\n    - [X] *\n  - [X] Adding support for command line arguments\n  - [X] Adding support for parentheses\n  - [X] Building a binary expression tree from a postfix expression\n  - [X] Evaluating a binary expression tree\n  - [X] Implementing a small lexer for multi-digit integer support\n  - [X] Adding support for unary operators [0/1]\n    - [x] negate (-expression)\n    - [] prefix plus (+expression)\n  - [ ] Adding support for boolean operators[0/4]\n    - [ ] And(\u0026)\n    - [ ] Or(|)\n    - [ ] Not(!)\n    - [ ] Xor(^)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoufoujoujou%2Fbinary-expression-evaluator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoufoujoujou%2Fbinary-expression-evaluator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoufoujoujou%2Fbinary-expression-evaluator/lists"}