{"id":49781521,"url":"https://github.com/jonathanwthom/i","last_synced_at":"2026-05-11T21:04:54.373Z","repository":{"id":356220340,"uuid":"1224230820","full_name":"JonathanWThom/i","owner":"JonathanWThom","description":" A sparse, statically-typed language in development. Building spec first as a learning exercise.","archived":false,"fork":false,"pushed_at":"2026-05-07T05:16:23.000Z","size":385,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-07T06:36:22.631Z","etag":null,"topics":["compiler","learning-by-doing","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":false,"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/JonathanWThom.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-29T04:46:16.000Z","updated_at":"2026-05-07T05:16:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/JonathanWThom/i","commit_stats":null,"previous_names":["jonathanwthom/i"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/JonathanWThom/i","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanWThom%2Fi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanWThom%2Fi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanWThom%2Fi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanWThom%2Fi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonathanWThom","download_url":"https://codeload.github.com/JonathanWThom/i/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanWThom%2Fi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32912679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-11T17:09:15.040Z","status":"ssl_error","status_checked_at":"2026-05-11T17:08:45.420Z","response_time":120,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["compiler","learning-by-doing","rust"],"created_at":"2026-05-11T21:04:53.323Z","updated_at":"2026-05-11T21:04:54.369Z","avatar_url":"https://github.com/JonathanWThom.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i\n\nA sparse, statically-typed language in development. Building spec first as a learning exercise.\n\n The syntax is as small as I could make it without giving up safety. Type and effect inference handle most of what would normally need syntax, leaving a handful of operators on the surface.\n\n```i\ntype Point\n    x : Float\n    y : Float\n    distance = other -\u003e\n        ((self.x - other.x)^2 + (self.y - other.y)^2)^0.5\n\nmain =\n    p1 = Point(x = 0, y = 0)\n    p2 = Point(x = 3, y = 4)\n    print! \"distance: \" ++ show (p1.distance p2)\n```\n\nMy primary goal is to learn something, but for the language itself, the\npriorities are:\n\n1. **Minimal.** Easy to learn and remember.\n2. **Safe.** No surprises.\n3. **Joyful.** Fun to write and read.\n\n## Status\n\nDocs are complete; lexer is complete and snapshot-tested; the parser is in\nprogress. For the live state — phases, current\nplan, task-level checkboxes — see\n[`docs/superpowers/plans/PROGRESS.md`](docs/superpowers/plans/PROGRESS.md).\n\n## Development\n\nCommon commands all sit behind `make`:\n\n```sh\nmake ci          # what GitHub Actions runs (fmt-check + lint + test)\nmake dev         # cargo test\nmake rev         # cargo insta review (snapshot review)\nmake help        # full list\n```\n\nA pre-commit hook (managed by [husky](https://typicode.github.io/husky/))\nruns `make ci` before every commit. To wire it up after cloning:\n\n```sh\nnpm install      # one-time; installs husky and runs `prepare`\n```\n\nThe Node dependency is *only* for the pre-commit hook — the compiler itself\nis pure Rust.\n\n## Documentation\n\n- [Tour](docs/tour.md) — start here\n- [Syntax reference](docs/syntax.md)\n- [Type system](docs/types.md)\n- [Effect system](docs/effects.md)\n- [Pattern matching](docs/patterns.md)\n- [Standard library](docs/stdlib.md)\n- [Modules](docs/modules.md)\n- [Building and running](docs/building.md)\n- [Limitations](docs/limitations.md)\n\n## License\n\nMIT. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanwthom%2Fi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanwthom%2Fi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanwthom%2Fi/lists"}