{"id":27284387,"url":"https://github.com/katistix/eval-from-scratch","last_synced_at":"2025-06-30T05:05:30.721Z","repository":{"id":236691807,"uuid":"792987306","full_name":"katistix/eval-from-scratch","owner":"katistix","description":"A simple \"interpreter\" that takes in as input simple arithmetic expressions and computes their values.","archived":false,"fork":false,"pushed_at":"2024-04-28T05:34:07.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-27T15:51:11.568Z","etag":null,"topics":["cpp","mathematics","parser","tokenizer"],"latest_commit_sha":null,"homepage":"","language":"C++","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/katistix.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,"zenodo":null}},"created_at":"2024-04-28T05:31:32.000Z","updated_at":"2024-04-28T05:34:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f2806ec-3301-46e8-aac4-fc7982d3f879","html_url":"https://github.com/katistix/eval-from-scratch","commit_stats":null,"previous_names":["katistix/eval-from-scratch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/katistix/eval-from-scratch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katistix%2Feval-from-scratch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katistix%2Feval-from-scratch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katistix%2Feval-from-scratch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katistix%2Feval-from-scratch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katistix","download_url":"https://codeload.github.com/katistix/eval-from-scratch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katistix%2Feval-from-scratch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262714504,"owners_count":23352464,"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":["cpp","mathematics","parser","tokenizer"],"created_at":"2025-04-11T18:58:13.980Z","updated_at":"2025-06-30T05:05:30.708Z","avatar_url":"https://github.com/katistix.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eval-from-scratch\n\nA simple \"interpreter\" that takes in as input simple arithmetic expressions and computes their values.\n\nThis is a **learning project**. It is supposed to teach me the following things:\n\n-   how to build a **tokenizer**\n-   how to compute a simple arithmetic expression\n-   what is an **Abstract Syntax Tree (AST)**\n\nAs I stated, this is _my_ learning journey. But I also try to document the code as much as possible to make it easier to understand for everyone.\n\n## Current progress and features:\n\n-   [x] Project structure setup and build system with CMake\n\n-   [x] Tokenize the expression and return the `tokens` vector.\n\n-   [ ] Build the expression tree\n\n-   [ ] Compute simple arithmetic expressions with `+ - / *`\n\n-   [ ] Implement parentheses `()`\n\n-   [ ] Implement `floating point` numbers\n\n-   [ ] Implement constants like `pi`, `e` etc.\n\n## Resources\n\n-   [fkkarakurt/mathparser](https://github.com/fkkarakurt/mathparser) - A Mathematical Expression Evaluator and Parser developed in C++.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatistix%2Feval-from-scratch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatistix%2Feval-from-scratch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatistix%2Feval-from-scratch/lists"}