{"id":17212483,"url":"https://github.com/jackfirth/regex-machine","last_synced_at":"2026-02-26T02:03:16.725Z","repository":{"id":62424348,"uuid":"168398174","full_name":"jackfirth/regex-machine","owner":"jackfirth","description":"A Racket package for Russ Cox's regex machine language","archived":false,"fork":false,"pushed_at":"2019-02-05T22:00:14.000Z","size":536,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-20T10:47:56.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Racket","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/jackfirth.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}},"created_at":"2019-01-30T19:02:50.000Z","updated_at":"2021-10-17T14:19:08.000Z","dependencies_parsed_at":"2022-11-01T18:01:04.399Z","dependency_job_id":null,"html_url":"https://github.com/jackfirth/regex-machine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jackfirth/regex-machine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackfirth%2Fregex-machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackfirth%2Fregex-machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackfirth%2Fregex-machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackfirth%2Fregex-machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackfirth","download_url":"https://codeload.github.com/jackfirth/regex-machine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackfirth%2Fregex-machine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29848633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"online","status_checked_at":"2026-02-26T02:00:06.774Z","response_time":89,"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":[],"created_at":"2024-10-15T03:00:14.337Z","updated_at":"2026-02-26T02:03:16.711Z","avatar_url":"https://github.com/jackfirth.png","language":"Racket","funding_links":[],"categories":[],"sub_categories":[],"readme":"# regex-machine [![CircleCI][circleci-badge]][circleci] [![Documentation][docs-badge]][docs]\n\nThis is an implementation of a virtual machine for Russ Cox's regular expression machine language.\nThis is *not* a parser for the language; instructions must be written in Racket as expressions like\nthis:\n\n```\n(program (char-instruction #\\a)\n         (char-instruction #\\b)\n         match-instruction)\n```\n\n## Installation\n\nTo use this code, you'll need to install the [Racket](http://racket-lang.org/) programming language.\nThis code is available as a Racket *package* named `regex-machine`, meaning that Racket can\nautomatically download and install this code without you having to do anything more than tell Racket\nthe name of the package. **You do not need to clone this Git repository or download a ZIP folder of\nits code.** Racket will do that for you using the Racket *package manager*. There are two ways you\ncan do this:\n\n1. Through DrRacket (recommended). Open up the DrRacket program (which is included with Racket out\nof the box) and open the package manager menu. It's located in `File \u003e Package Manager...`. Then,\ntype `regex-machine` in the `Package Source` text field and click `Install`. You should see the\npackage manager spit out some lines of text output starting with `raco setup`. If the install failed\nfor some reason, this output should include a section labeled `--- summary of errors ---`. If you\ndon't see that, the package should have been installed successfully.\n\n2. Through the command line (not recommended). First make sure Racket's command line tools are in\nyour `$PATH` -- you should be able to run both of the commands `racket --version` and `raco help`\nwithout errors. This is *not* automatically set up for you when you install Racket, and setting it\nup correctly requires different steps depending on whether you're using a Windows, macOS, or Linux\ncomputer. Instead of trying to figure it out I strongly recommend using DrRacket to install this\npackage. But assuming you really want to use the command line and have figured out how to get the\nRacket tools working, you can install this package by running the command\n`raco pkg install --auto regex-machine`.\n\nYou can check that the package installed successfully by opening DrRacket and running the code\n`(require regex-machine)`, including the parentheses. This makes all of the functions defined in\nthis package available to you for use. See this package's [documentation][docs] for the details of\nthose functions.\n\n## GUI\n\nYou can run the GUI by executing `(require (submod regex-machine/gui main))` in DrRacket. It's not\nvery configurable however.\n\n[circleci]: https://circleci.com/gh/jackfirth/regex-machine\n[circleci-badge]: https://circleci.com/gh/jackfirth/regex-machine.svg?style=svg\n[docs]: http://docs.racket-lang.org/regex-machine/index.html\n[docs-badge]: https://img.shields.io/badge/docs-published-blue.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackfirth%2Fregex-machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackfirth%2Fregex-machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackfirth%2Fregex-machine/lists"}