{"id":19287739,"url":"https://github.com/thedevtop/sdac","last_synced_at":"2025-04-22T04:32:19.809Z","repository":{"id":200272098,"uuid":"705160584","full_name":"TheDevtop/sdac","owner":"TheDevtop","description":"Software Defined Automatic Calculator","archived":false,"fork":false,"pushed_at":"2023-10-26T08:29:30.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-26T09:31:51.818Z","etag":null,"topics":["calculator","rust","s-expressions"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheDevtop.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2023-10-15T07:57:03.000Z","updated_at":"2023-10-15T08:04:49.000Z","dependencies_parsed_at":"2023-10-16T10:58:27.340Z","dependency_job_id":null,"html_url":"https://github.com/TheDevtop/sdac","commit_stats":null,"previous_names":["thedevtop/sdac"],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDevtop%2Fsdac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDevtop%2Fsdac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDevtop%2Fsdac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDevtop%2Fsdac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheDevtop","download_url":"https://codeload.github.com/TheDevtop/sdac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223888429,"owners_count":17220083,"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":["calculator","rust","s-expressions"],"created_at":"2024-11-09T22:07:05.186Z","updated_at":"2024-11-09T22:07:05.578Z","avatar_url":"https://github.com/TheDevtop.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDAC\n\nThe **S**oftware **D**efined **A**utomatic **C**alculator, is a research project that aims to implement a programmable calculator with its own [LISP](https://en.wikipedia.org/wiki/Lisp_(programming_language)) dialect.\n\n### Types\n\n**Expressions** (exp): Things to be evaluated.\n\n**Values** (val): Things that are evaluated.\n\n### Keywords\n\n| Keyword | Symbol |    Description   |\n|:-------:|:------:|:----------------:|\n|   add   |    +   |     Addition     |\n|   mul   |    *   |  Multiplication  |\n|   sub   |    -   |    Subtraction   |\n|   div   |    /   |     Division     |\n|   mod   |    %   |      Modulus     |\n|   and   |    \u0026   |        AND       |\n|   ior   |   \\|   |   Inclusive OR   |\n|   xor   |    ^   |   Exclusive OR   |\n|   eqa   |    =   |     Equality     |\n|   neq   |    !   |   Non Equality   |\n|   min   |    \u003c   |      Minimum     |\n|   max   |    \u003e   |      Maximum     |\n|   eif   |    ?   | Evaluate if true |\n\n### Example (The answer to everything)\n\n**Input**\n```lisp\n(exp mul (val . 21) (exp add (val . 3) (val . -1)))\n```\n**Output**\n```\n+ 3 -1\n* 21 2\n: 42\n```\nFor which ':' is the complete evaluation of the program.\nMeaning that the answer to life, the universe, and everything is 42.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedevtop%2Fsdac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthedevtop%2Fsdac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedevtop%2Fsdac/lists"}