{"id":17893337,"url":"https://github.com/techno-coder/lexica","last_synced_at":"2025-03-23T03:32:40.518Z","repository":{"id":118644817,"uuid":"185944253","full_name":"Techno-coder/lexica","owner":"Techno-coder","description":"Reversible programming language","archived":false,"fork":false,"pushed_at":"2019-12-07T11:24:38.000Z","size":629,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T17:07:58.695Z","etag":null,"topics":["language","lexica","programming-language","reversible-computation"],"latest_commit_sha":null,"homepage":"https://technocoder.gitbook.io/lexica/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Techno-coder.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-10T07:53:06.000Z","updated_at":"2024-06-28T03:26:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"edd1714a-16f7-4b87-b467-c97e7cbfece2","html_url":"https://github.com/Techno-coder/lexica","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techno-coder%2Flexica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techno-coder%2Flexica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techno-coder%2Flexica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techno-coder%2Flexica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Techno-coder","download_url":"https://codeload.github.com/Techno-coder/lexica/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052624,"owners_count":20553161,"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":["language","lexica","programming-language","reversible-computation"],"created_at":"2024-10-28T14:49:35.694Z","updated_at":"2025-03-23T03:32:40.498Z","avatar_url":"https://github.com/Techno-coder.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Lexica](https://technocoder.gitbook.io/lexica/)\nA reversible programming language.\n\n```\nfn fibonacci(n: u64) -\u003e u64:\n\tlet ~first = 1\n\tlet ~second = 1\n\n\tlet ~counter = 1\n\tloop counter == 1 =\u003e counter == n:\n\t\tlet summation = first + second\n\t\tfirst \u003c=\u003e second\n\t\tsecond \u003c=\u003e summation\n\n\t\tdrop summation = second - first\n\t\tcounter += 1\n\n\tdrop n = counter\n\tsecond\n```\n\n## Installation\n```\ncargo +nightly install --locked --git https://github.com/Techno-coder/lexica\n```\n\n## Usage\n```\nlexica \u003cpath\u003e/main.lx\n```\n\n## Commands\n* `context` - Displays the compiler context state\n* `basic \u003creversible|entropic\u003e \u003cfunction\u003e` - Displays the basic node lowering of a function\n* `evaluate \u003cfunction\u003e` - Evaluates and returns the result of a zero arity function\n* `cycle \u003cfunction\u003e` - Evaluates and reverses and returns the parameter values of a zero arity function\n\n## Influence\nLexica has been influenced by:\n- [Rust](https://github.com/rust-lang/rust)\n- [Arrow](https://etd.ohiolink.edu/!etd.send_file?accession=oberlin1443226400)\n- [Nim](https://nim-lang.org)\n\nand many other languages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechno-coder%2Flexica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechno-coder%2Flexica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechno-coder%2Flexica/lists"}