{"id":16554707,"url":"https://github.com/owez/zypo-rs","last_synced_at":"2025-04-04T21:25:13.545Z","repository":{"id":115272577,"uuid":"271154542","full_name":"Owez/zypo-rs","owner":"Owez","description":"Old lalrpop-based compiler that was never finished. See link for new compiler","archived":false,"fork":false,"pushed_at":"2020-06-10T16:07:02.000Z","size":39,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T06:12:29.644Z","etag":null,"topics":["language","language-development","rust"],"latest_commit_sha":null,"homepage":"https://github.com/scOwez/jingo","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/Owez.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":"2020-06-10T02:12:43.000Z","updated_at":"2024-02-13T18:00:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"31b1f6bb-476c-4d1a-992a-1022b518ca3e","html_url":"https://github.com/Owez/zypo-rs","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/Owez%2Fzypo-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Owez%2Fzypo-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Owez%2Fzypo-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Owez%2Fzypo-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Owez","download_url":"https://codeload.github.com/Owez/zypo-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247250662,"owners_count":20908401,"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","language-development","rust"],"created_at":"2024-10-11T19:52:07.505Z","updated_at":"2025-04-04T21:25:13.515Z","avatar_url":"https://github.com/Owez.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"text-align:center\"\u003e\n    \u003cimg src=\"banner.png\" width=\"400\" style=\"border-radius:1rem;\"/\u003e\n\u003c/div\u003e\n\n----\n\nZypo is a new language focused on portability and developer needs ✨\n\n## Objectives\n\n- Dynamic typing\n- Binary portability\n- Static compilation\n- Markdown-friendly (all compiler logs should be in markdown)\n- Memory safe compiler (programs written are not memory safe!)\n\n## The Syntax\n\n2 simple dummy functions:\n\n```kotlin\nfun hello(other_int) {\n    if(other_int == 5) {\n        var x = 24;\n\n        while(x / other_int != 2) {\n            --snip--\n        }\n    }\n\n    var result = \"hello\";\n}\n\nfun mul_x(first, second) {\n    return first * second == 6;\n}\n```\n\n[Fibonacci](https://en.wikipedia.org/wiki/Fibonacci_number) sequence:\n\n```kotlin\nfun fibonacci(stop_iteration) {\n    if (stop_iteration == (0 or 1)) {\n        return 0; -- return just 0 as user input is incorrect.\n    }\n\n    return fibonacci(stop_iteration - 1) + fibonacci(stop_iteration - 2);\n}\n```\n\nYou can find more code examples in the `examples/` directory in the same path as this README!\n\n*Note: we use kotlin for markdown highlighting as Zypo highlighting is not supported just yet.. 🤞*\n\n## Project structure\n\nIn the sublevels are descriptions on each made part of this compiler.\n\n### **`/`** - Main repository\n\n- Contains general docs on the rest of zypo including setup and running\n- Contains the 2 core Zypo modules, `zypo-lib` (the main compiler library) and `zypo` (the cli)\n- Named \"Zypo\"/\"The compiler\" or if referencing in docs \"`zypo-rs`\" (always lowercase in codeblock)\n\n#### **`/zypo-lib/`** - Compiler library\n\n- Named \"The compiler library\" or \"`zypo-lib`\" (always lowercase in codeblock)\n- Contains the main guts of the compiler and a simple API to connect outside code to multiple stages of the library\n\n#### **`/zypo-cli/`** - Main CLI\n\n- Named \"The CLI\" or \"`zypo-cli`\" (always lowercase in codeblock)\n- The CLI the majority of people use to interact with Zypo\n- On releasing the binary, the name is shortened to just `./zypo` for linux or `./zypo.exe` for windows\n\n#### **`/examples/`** - Zypo examples\n\n- Contains some examples for `.zy`/Zypo code that are used in this README\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowez%2Fzypo-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowez%2Fzypo-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowez%2Fzypo-rs/lists"}