{"id":28556939,"url":"https://github.com/nonbinarybyte/knitlang","last_synced_at":"2025-06-30T10:05:27.877Z","repository":{"id":297127877,"uuid":"995742907","full_name":"nonbinarybyte/knitlang","owner":"nonbinarybyte","description":"Knitlang written in rust, by a femboy...","archived":false,"fork":false,"pushed_at":"2025-06-04T19:21:35.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-04T22:36:02.905Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/nonbinarybyte.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}},"created_at":"2025-06-04T00:20:34.000Z","updated_at":"2025-06-04T19:21:38.000Z","dependencies_parsed_at":"2025-06-04T22:36:14.375Z","dependency_job_id":null,"html_url":"https://github.com/nonbinarybyte/knitlang","commit_stats":null,"previous_names":["nonbinarybyte/binp","nonbinarybyte/knitlang"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonbinarybyte%2Fknitlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonbinarybyte%2Fknitlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonbinarybyte%2Fknitlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonbinarybyte%2Fknitlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nonbinarybyte","download_url":"https://codeload.github.com/nonbinarybyte/knitlang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonbinarybyte%2Fknitlang/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259026136,"owners_count":22794475,"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":[],"created_at":"2025-06-10T07:08:27.209Z","updated_at":"2025-06-30T10:05:27.863Z","avatar_url":"https://github.com/nonbinarybyte.png","language":"Rust","readme":"# knitlang\n\n*the language for knitters/crocheters by a crocheter/knitter.*\n\n\u003e [!IMPORTANT]\n\u003e This language is still in active development. Please use caution as it's still *really* buggy.\n\n## What Is knitlang?\n\nknitlang was made in June 2025, by me, [kenny](https://github.com/nonbinarybyte). Originally it was supposed to be a rust remake of binary called \"bin+\" (`.binp` as a file extension.) However I decided to change that idea up after i realized 2 things...\n\n1. Rebuilding `1001110`'s just isnt possible and/or would be too hard.\n2. Im new to rust.\n\n**SO Then...!**\n\na brilliant person in discord.gg/program came up with an idea (mostly as a joke) that i should make something based off of knitting. So i did. (*mostly* for shits and giggles)\n\n## Contributors\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e \n\u003ctable\u003e \u003ctr\u003e \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/nonbinarybyte\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/184435682?v=4\" width=\"100px;\" alt=\"Kenny Thomas-Moore\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKenny Thomas-Moore\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#code-nonbinarybyte\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#doc-nonbinarybyte\" title=\"Docs\"\u003e📖\u003c/a\u003e \u003ca href=\"#translation-nonbinarybyte\" title=\"Translation\"\u003e🌍\u003c/a\u003e \u003ca href=\"#ally-nonbinarybyte\" title=\"Allyship\"\u003e♿️\u003c/a\u003e \u003ca href=\"#maintenance-nonbinarybyte\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/johndavedosn\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/112868391?v=4\" width=\"100px;\" alt=\"Evil\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eEvil\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#code-johndavedosn\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#maintenance-johndavedosn\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mnem42\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/177770058?v=4\" width=\"100px;\" alt=\"mnem\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003emnem\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#code-mnem42\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#maintenance-mnem42\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e \u003c/tr\u003e \u003c/table\u003e\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\n## How do I use knitlang?\n\nsimply build from source using the following commands...\n\n```bash\ncargo build --release\n./target/release/knitlang pattern.knit\n```\n\n\u003e [!NOTE]\n\u003e `.knit` is our custom file extension, however for `.knit` files to work you *may* need to have the source in the root directory of your project.\n\n### Syntax Glossary\n\n| 🧵 Knitting Term            | 💻 Programming Equivalent         | 💬 Notes                                                                     |\n| --------------------------- | --------------------------------- | ---------------------------------------------------------------------------- |\n| `K` (knit)                  | Operation / Function              | Core unit of work; executes a line or step                                   |\n| `P` (purl)                  | Variable declaration              | Stores yarn, needle info, row state                                          |\n| `YO` (yarn over)            | Increment / Loop initialization   | Adds a new stitch (increases count)                                          |\n| `K2tog` (knit 2 together)   | If/Else or Conditional Logic      | Combines stitches → test \u0026 react (compression or decision)                   |\n| `SSK` (slip, slip, knit)    | Comparison / Merge                | Rearranges or compares values                                                |\n| `Pattern repeat`            | Loops (for/while)                 | Repeat blocks of instructions/stitches                                       |\n| `* * repeat n times`        | `for` loop                        | Repeats a pattern block a specific number of times                           |\n| `Cast on`                   | Program start / Init block        | Beginning of execution; memory allocation                                    |\n| `Bind off`                  | Program end / Return / Cleanup    | Frees memory / closes output                                                 |\n| `Stitch marker`             | Label / Anchor / Checkpoint       | Used to mark positions in loops or branches                                  |\n| `Gauge`                     | Type checking / Size constraints  | Ensures consistent output (e.g., size, speed, type)                          |\n| `Row` / `Round`             | Code block / Function call        | A complete unit of execution; stack frame analog                             |\n| `Increase`                  | Push to list / Expand memory      | Adds a new element                                                           |\n| `Decrease`                  | Pop from list / Reduce memory     | Removes an element                                                           |\n| `Tension`                   | Runtime performance tuning        | Balancing tightness/efficiency                                               |\n| `Frogging`                  | Rollback / Undo / Debug           | Rip it out and try again 🐸                                                  |\n| `Stitch holder`             | Temporary variable / Cache        | Stores values for reuse or reassignment                                      |\n| `Cable`                     | Thread switching / Threaded logic | Rearranges stitch execution order (like parallelism or non-linear execution) |\n| `Chart` / `Written pattern` | Source code or DSL file           | Human-readable source                                                        |\n| `Swatch`                    | Test / Compile                    | Prototype run of a block before full program                                 |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnonbinarybyte%2Fknitlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnonbinarybyte%2Fknitlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnonbinarybyte%2Fknitlang/lists"}