{"id":25655496,"url":"https://github.com/watasuke102/settlang","last_synced_at":"2025-07-31T09:09:26.768Z","repository":{"id":277161585,"uuid":"840529751","full_name":"watasuke102/settlang","owner":"watasuke102","description":"A statically typed language that expresses mutability by whether variables have setters","archived":false,"fork":false,"pushed_at":"2025-07-08T12:21:40.000Z","size":595,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T13:29:28.700Z","etag":null,"topics":["programming-language","rust","webassembly"],"latest_commit_sha":null,"homepage":"https://watasuke102.github.io/settlang/","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/watasuke102.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","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":"2024-08-09T23:38:54.000Z","updated_at":"2025-07-08T12:21:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d224c7a-6d4b-4cd9-948e-70b8d935ac47","html_url":"https://github.com/watasuke102/settlang","commit_stats":null,"previous_names":["watasuke102/settlang"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/watasuke102/settlang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watasuke102%2Fsettlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watasuke102%2Fsettlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watasuke102%2Fsettlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watasuke102%2Fsettlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watasuke102","download_url":"https://codeload.github.com/watasuke102/settlang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watasuke102%2Fsettlang/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268016856,"owners_count":24181656,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"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","webassembly"],"created_at":"2025-02-23T21:30:14.637Z","updated_at":"2025-07-31T09:09:26.710Z","avatar_url":"https://github.com/watasuke102.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Settlang\n\nSettlang is a statically typed programming language that expresses mutability by whether variables have setters.\n\n## Let's try!\n\nVisit [Playground (watasuke102.github.io/settlang)](https://watasuke102.github.io/settlang/) to try on the playground!\n\n## Example\n\nSee `/examples` for more.\n\n```\n#*\n  Settlang minimal example\n*#\nfn accumulator(self: i64, e: i64) -\u003e i64 {\n  # just return added value\n  ret self + e\n}\n\nfn randomize() -\u003e i64 {\n  ret random(0, 100)\n}\n\n# function named `main` is entrypoint\nfn main() -\u003e i64 {\n  # they have 'setter' function, so mutable\n  let sum: i64 | accumulator = 0\n  let rnd: i64 | randomize   = 0\n\n  for i in 0..10 {\n    rnd.set()         # call setter of rnd\n    print(\"{}\", rnd)  # print value\n    if i != 9 {\n      print(\", \")\n    }\n    sum.set(sum, rnd) # call setter of sum\n  }\n  println(\"\")\n\n  ret sum\n}\n\n```\n\n## LICENSE\n\nDual-licensed; MIT (`LICENSE-MIT` or [The MIT License – Open Source Initiative](https://opensource.org/license/mit/)) or MIT SUSHI-WARE LICENSE (`LICENSE-MIT_SUSHI.md`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatasuke102%2Fsettlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatasuke102%2Fsettlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatasuke102%2Fsettlang/lists"}