{"id":49868308,"url":"https://github.com/velzie/zsp","last_synced_at":"2026-05-15T04:05:39.680Z","repository":{"id":41545509,"uuid":"468592019","full_name":"velzie/zsp","owner":"velzie","description":"a small interpreted programming language built in rust","archived":false,"fork":false,"pushed_at":"2022-11-16T03:30:46.000Z","size":9739,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-22T16:30:37.202Z","etag":null,"topics":["programming-language","rust"],"latest_commit_sha":null,"homepage":"https://coolelectronics.me/playground/","language":"Rust","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/velzie.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}},"created_at":"2022-03-11T03:17:11.000Z","updated_at":"2023-08-20T14:33:24.000Z","dependencies_parsed_at":"2023-01-21T09:15:28.753Z","dependency_job_id":null,"html_url":"https://github.com/velzie/zsp","commit_stats":null,"previous_names":["velzie/zsp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/velzie/zsp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velzie%2Fzsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velzie%2Fzsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velzie%2Fzsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velzie%2Fzsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/velzie","download_url":"https://codeload.github.com/velzie/zsp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velzie%2Fzsp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33053161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"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":["programming-language","rust"],"created_at":"2026-05-15T04:05:38.902Z","updated_at":"2026-05-15T04:05:39.674Z","avatar_url":"https://github.com/velzie.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zsp\nThis is the code for a toy language I built because I was bored.\n\nThe documentation for the language and guide is on the wiki, here is just a basic summary of the language and it's features\n\nZSP stands for \"ZSP is Superior to Python\", because I wanted one of those fancy recursive acryonyms and I couldn't come up with a better name\n\n \n## getting started\nYou can download the interpreter and use all the features, or if you just want to play around, there's a [web interpreter](https://coolelectronics.me/playground/) available\n\nIf you decide to use the native interpreter, it will create a .zsp folder in your home directory where libraries will be loaded upon first run. If you want to use a library such as the `fs` or `dlopen` libraries, you will need to put the shared object there.\n\n## features\nsupported:  \n  dynamic typing  \n  functions  \n  variables  \n  loading shared object libraries   \n  objects  \n  arrays  \n  for loops  \n  \n\nto be implemented:  \n  closures  \n  dlopen function  \n  if else  \n## syntax\nThe syntax I ended up choosing is a mix of c and python, with some ideas stolen from various languages, mostly rust\n\nfor an example, here's fizzbuzz in zsp\n```\nmod a b{\n    r = a\n    loop{\n        r = r - b\n        if r \u003c b{\n            return r\n        }\n    }\n}\nfor counter 0 counter \u003c 100 counter = counter + 1{\n    by3 = (mod counter 3) == 0\n    by5 = (mod counter 5) == 0\n\n    if by3 \u0026\u0026 by5 {\n        put \"FizzBuzz\"\n    }else{\n        if by3 \u0026\u0026 (by5 == false){\n            put \"Fizz\"\n        }\n        if by5 \u0026\u0026 (by3 == false){\n            put \"Buzz\"\n        }\n        if (by5 == false) \u0026\u0026 (by3 == false){\n            put counter\n        }\n    }\n}\n```\n\nmore information about the specifics are on the wiki\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelzie%2Fzsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvelzie%2Fzsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelzie%2Fzsp/lists"}