{"id":18858070,"url":"https://github.com/kvbc/char","last_synced_at":"2026-06-28T17:31:39.229Z","repository":{"id":142635402,"uuid":"306446541","full_name":"kvbc/char","owner":"kvbc","description":"Single character esoteric programming language","archived":false,"fork":false,"pushed_at":"2020-11-16T14:48:43.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-28T14:46:26.799Z","etag":null,"topics":["esoteric-programming-language","interpreter"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kvbc.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}},"created_at":"2020-10-22T20:04:13.000Z","updated_at":"2020-11-18T19:43:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb817b5b-98cb-418f-80b4-8869d02f82e2","html_url":"https://github.com/kvbc/char","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/kvbc/char","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Fchar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Fchar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Fchar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Fchar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kvbc","download_url":"https://codeload.github.com/kvbc/char/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Fchar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34898562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"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":["esoteric-programming-language","interpreter"],"created_at":"2024-11-08T04:09:49.957Z","updated_at":"2026-06-28T17:31:39.205Z","avatar_url":"https://github.com/kvbc.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://i.imgur.com/zXFFMuJ.png)\r\n\r\nChar is an esoteric stack based programming language, which commands are single characters. The language was designed to be simple.\r\n\r\n___\r\n\r\n# Syntax\r\n\r\nChar's syntax can be represented as a table of commands:\r\n\r\n| Command   | Parameter | Meaning                                                         |\r\n| :-------: | :-------: | :-------------------------------------------------------------- |\r\n| `\u003e`       | Number    | Push a number onto the stack                                    |\r\n| `\u003c`       | -         | Discard the top item on the stack                               |\r\n| `+`       | -         | Pop `a` and `b`. Push `a + b`                                   |\r\n| `-`       | -         | Pop `a` and `b`. Push `b - a`                                   |\r\n| `*`       | -         | Pop `a` and `b`. Push `b * a`                                   |\r\n| `/`       | -         | Pop `a` and `b`. Push `b / a`                                   |\r\n| `%`       | -         | Pop `a` and `b`. Push `b % a`                                   |\r\n| `.`       | -         | Pop `a` and print it as a character                             |\r\n| `,`       | -         | Read `a` and push it's ASCII value onto the stack               |\r\n| `\"`       | -         | Duplicate the top item on the stack                             |\r\n| `\u0026`       | -         | Swap the top two items on the stack                             |\r\n| `#`       | -         | Ignore the next characters to the end of the line\r\n| `~`       | -\t        | Run the next statement if top of the stack is lower than 0\t  |\r\n| `?`       | -\t        | Run the next statement if top of the stack is not 0\t          |\r\n| `^`       | Label     | Mark a location in the program                                  |\r\n| `:`       | Label     | Jump to a label                                                 |\r\n| `;`       | Label     | Call a subroutine                                               |\r\n| `!`       | -         | End a subroutine and transfer control back to the caller        |\r\n| `@`       | -         | End the program                                                 |\r\n\r\n___\r\n\r\n# Timeline\r\n\r\n- [x] `v1` - The first version of Char\r\n  - [x] `v1.0` - the base release\r\n    - [x] `v1.0.1` - syntactic sugar\r\n- [x] `v2` - The last version of Char\r\n  - [x] `v2.0` - the base release\r\n\r\n___\r\n\r\n# Example\r\n\r\nA program that prints its input:\r\n```\r\n# out.char\r\n^read\r\n\t,\r\n\t? :print\r\n\t@\r\n^print\r\n\t.\r\n\t:read\r\n```\r\nMore examples can be found in the `examples` directory\r\n\r\n___\r\n\r\n# Usage\r\n\r\nAfter you've built an executable you can run it according to this usage:\r\n\r\n`\u003cexe\u003e \u003csrc\u003e \u003cinput\u003e`\r\n\r\n- `\u003cexe\u003e`   - path to your executable\r\n- `\u003csrc\u003e`   - path to your source file\r\n- `\u003cinput\u003e` - input of the program `(optional)`\r\n\r\n___\r\n\r\n###### This README and many other things were inspired by the repository of the [Night](https://github.com/DynamicSquid/night) programming language\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvbc%2Fchar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkvbc%2Fchar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvbc%2Fchar/lists"}