{"id":15655562,"url":"https://github.com/mufeedvh/regretti","last_synced_at":"2025-05-05T14:42:03.434Z","repository":{"id":114486044,"uuid":"398472576","full_name":"mufeedvh/regretti","owner":"mufeedvh","description":"A programming language where comments are the first-class citizen and ASCII art flowcharts are the controls!","archived":false,"fork":false,"pushed_at":"2023-07-01T16:52:47.000Z","size":75,"stargazers_count":27,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T15:23:16.126Z","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/mufeedvh.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}},"created_at":"2021-08-21T05:16:01.000Z","updated_at":"2024-04-18T15:20:46.000Z","dependencies_parsed_at":"2023-05-16T23:00:43.282Z","dependency_job_id":"69c3d16a-fbdb-47b2-831f-a2aa79c38896","html_url":"https://github.com/mufeedvh/regretti","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"61521442c383e0e82a950098e9d60a6e7ee615ca"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fregretti","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fregretti/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fregretti/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Fregretti/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mufeedvh","download_url":"https://codeload.github.com/mufeedvh/regretti/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252420776,"owners_count":21745143,"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":"2024-10-03T12:59:50.052Z","updated_at":"2025-05-05T14:42:03.415Z","avatar_url":"https://github.com/mufeedvh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003e\u003ccode\u003eregretti\u003c/code\u003e 🤌🍝\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cstrong\u003e\u003ci\u003eA programming language where comments are the first-class citizen and ASCII art flowcharts are the controls!\u003c/i\u003e\u003c/strong\u003e\n\u003c/p\u003e\n\n---\n\n\u003e Made for [Lang Jam (`jam0001`)](https://github.com/langjam/jam0001) theme: **first-class comments** in 48 hours.\n\n\u003e **UPDATE:** regretti [won](https://www.youtube.com/watch?v=j7VAw8UfMeA\u0026t=466s) Lang Jam (`jam0001`)!\n\n## Summary\n\nWhat if all those \"`TODO:`\" comments and beautiful ASCII art diagrams in your code actually worked? Presenting you the one and only _regretti_, write your _spaghetti_ and _forgetti_!\n\n\u003e _Basically, I took the theme \"literally\"!_\n\nSo comments are **commands**!\n\nYou can only run instruction statements inside a comment! 💬\n\n## Table of Contents\n\n* [Features](#goals)\n* [Installation](#installation)\n* [Quick Start](#hello-world)\n* [Examples](#examples)\n* [Language Internals](#internals)\n\n## Goals\n\n- **Teaching:** What initially started as a troll/esoteric language, this language could be used to teach kids \"Control Flows\" visually.\n- **Fast:** The existing functionality/examples runs faster than most interpreted languages!\n- **Helpful Error Messages:** Almost every errors will be catched and prints out a helpful error message as to denote what went wrong. (Inspired from Rust :heart:)\n\n## Installation\n\n**NOTE:** Please run on **Linux**.\n\n```\n$ git clone https://github.com/mufeedvh/regretti.git\n$ cd regretti/\n$ cargo build --release\n$ ./target/release/regretti\n```\n\n## Hello World\n\nLo and behold!\n\n```\nmain:\n    /*\n        +----------------------+\n        | print \"Hello World!\" |\n        +----------------------+\n    */\n```\n\n**Loops**\n\n```\n\nmain:\n    let count = 69420\n\n    /*\n        +--------+\n        | loop 5 |\u003c----------+\n        +--------+           |\n             |               v\n             |               +-------------+\n             |               | print count |\n             |               +-------------+\n             |               ^\n             |               |\n             +---------------+\n    */\n:end\n```\n\nGet more examples below!\n\n## Examples\n\nExamples are the best way to learn regretti, these cover all the features and functionalities of the language:\n\n- [Hello World](https://github.com/mufeedvh/regretti/blob/main/examples/helloworld.reg)\n- [If Else](https://github.com/mufeedvh/regretti/blob/main/examples/if_else.reg)\n- [Loops](https://github.com/mufeedvh/regretti/blob/main/examples/loop.reg)\n\n_All other examples have not been completely implemented yet._\n\n_Also I am pretty sure there are a lot of bugs, this is probably the most obscure syntax for parsing lol..._\n\n### Flow Charts?\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://imgs.xkcd.com/comics/flow_charts.png\" height=\"400\" width=\"600\"\u003e\n\u003c/div\u003e\n\n## Internals\n\n**In a nutshell:**\n\n\u003cimg src=\"https://imgs.xkcd.com/comics/encoding.png\" height=\"350\" width=\"250\"\u003e\n\n_https://xkcd.com/1209/_\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmufeedvh%2Fregretti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmufeedvh%2Fregretti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmufeedvh%2Fregretti/lists"}