{"id":20432422,"url":"https://github.com/zikiflicky/bonzo","last_synced_at":"2025-10-10T12:39:55.272Z","repository":{"id":107031195,"uuid":"519327032","full_name":"ZikiFlicky/Bonzo","owner":"ZikiFlicky","description":"A regex programming language","archived":false,"fork":false,"pushed_at":"2022-10-31T06:11:08.000Z","size":166,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T06:18:13.222Z","etag":null,"topics":["programming-language","regex"],"latest_commit_sha":null,"homepage":"","language":"C++","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/ZikiFlicky.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":"2022-07-29T19:22:59.000Z","updated_at":"2022-07-29T19:26:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"94bf48fc-096e-4c26-b7c5-64d8ec8ee082","html_url":"https://github.com/ZikiFlicky/Bonzo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZikiFlicky/Bonzo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZikiFlicky%2FBonzo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZikiFlicky%2FBonzo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZikiFlicky%2FBonzo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZikiFlicky%2FBonzo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZikiFlicky","download_url":"https://codeload.github.com/ZikiFlicky/Bonzo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZikiFlicky%2FBonzo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003892,"owners_count":26083641,"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-10-10T02:00:06.843Z","response_time":62,"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","regex"],"created_at":"2024-11-15T08:15:00.513Z","updated_at":"2025-10-10T12:39:55.255Z","avatar_url":"https://github.com/ZikiFlicky.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bonzo\nA small language that allows you to define rules for creating regular expressions and for searching\nfor patterns in text.\n\nThe language persists only of rules, functions and builtin-functions and allows you\nto match text or generate regexes in an easy and readable way.\n\n## Setup\nThis was tested only on my Ubuntu 20.04 machine.\n\n### Prerequisites\n* *nix machine\n* CMake \u003e=3.16\n* GNU Make\n* C++20 compiler\n\n### Downloading\nTo download prerequisites on Ubuntu:\n```\nsudo apt install build-essential cmake gcc-11\n```\n\nClone this repository.\n\n### Compiling\n\nEnter the created directory and run:\n```\ncmake . \u0026\u0026 make\n```\n\nThe executable, called `bonzo`, will be set in the base directory.\n\n### Running\nThere are some example files in the `examples/` directory.\n\nTo run the hello-world example file:\n```\n./bonzo examples/hello_world.bz\n```\n\n## Todo\n- [x] Generate regex\n- [X] Our own matching engine\n- [X] Better argument handling\n- [X] Tests\n- [~] Better errors (show position in runtime errors)\n- [ ] More tests\n- [ ] Fix some UB\n- [ ] Refactor\n- [ ] Different make rule to build the `runtests` executable\n- [ ] Show matches in an interactive way (like `less`)\n- [ ] More regex syntaxes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzikiflicky%2Fbonzo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzikiflicky%2Fbonzo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzikiflicky%2Fbonzo/lists"}