{"id":15640562,"url":"https://github.com/omarandlorraine/strop","last_synced_at":"2025-04-04T10:08:00.295Z","repository":{"id":37393327,"uuid":"420878271","full_name":"omarandlorraine/strop","owner":"omarandlorraine","description":"Stochastically generates machine code","archived":false,"fork":false,"pushed_at":"2025-03-23T14:59:49.000Z","size":690,"stargazers_count":96,"open_issues_count":9,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T09:08:20.797Z","etag":null,"topics":["rust"],"latest_commit_sha":null,"homepage":"","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/omarandlorraine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["omarandlorraine"]}},"created_at":"2021-10-25T04:31:36.000Z","updated_at":"2025-02-28T20:46:10.000Z","dependencies_parsed_at":"2023-11-14T13:44:45.718Z","dependency_job_id":"a431ee2b-ce8f-4dcc-a6a2-66bed040096e","html_url":"https://github.com/omarandlorraine/strop","commit_stats":{"total_commits":492,"total_committers":6,"mean_commits":82.0,"dds":0.2703252032520326,"last_synced_commit":"60a841ee93f266b0bb89c8aef61f1e15da837b28"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omarandlorraine%2Fstrop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omarandlorraine%2Fstrop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omarandlorraine%2Fstrop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omarandlorraine%2Fstrop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omarandlorraine","download_url":"https://codeload.github.com/omarandlorraine/strop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157283,"owners_count":20893220,"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":["rust"],"created_at":"2024-10-03T11:37:23.487Z","updated_at":"2025-04-04T10:08:00.268Z","avatar_url":"https://github.com/omarandlorraine.png","language":"Rust","funding_links":["https://github.com/sponsors/omarandlorraine"],"categories":[],"sub_categories":[],"readme":"# strop\n[![Build Status](https://github.com/omarandlorraine/strop/actions/workflows/tier1.yml/badge.svg?branch=master)](https://github.com/omarandlorraine/strop/actions?workflow=Checks)\n[![crates.io](https://img.shields.io/crates/v/strop)](https://crates.io/crates/strop)\n\nstrop, the *st*ochastic *op*timizer, written in *R*ust.\n\nLike a compiler, strop generates assembly that computes a given function. But\nunlike a compiler, it generates assembly-language subroutines by a random\nsearch or a brute-force search.\n\n### Ancillary documents:\n\n * [LICENSE](LICENSE.md) It's just the MIT license.\n * [Theory of operation](THEORY_OF_OPERATION.md) High-level documentation explaining how strop works.\n\n### What it's for\n\nTo see what strop could be used for:\n\n * [opt](examples/opt.rs) optimizes an existing machine code function\n * [gen](examples/gen.rs) generates a Z80 function matching the Rust function, after a fashion compiling Rust to Z80.\n * [peephole](examples/peephole.rs) discovers lacunae in the peephole optimizers and other constraints\n\n### Supported instruction sets:\n\nStrop currently has the following back-ends:\n\n * **armv4t**, which targets the ARMv4T processors, such as the ARM7TDMI\n * **m68000**, which targets the Motorola 68000\n    * NB. This back-end is gated by the `m68k` feature since it requires nightly Rust\n * **m6502**, targets various models of the MOS 6502\n    * Supports the NMOS and CMOS variants and others, thanks to the\n      [mos6502](https://github.com/mre/mos6502) dependency.\n * **m6809**, which targets the Motorola 6809\n * **z80**, which targets the Zilog Z80\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomarandlorraine%2Fstrop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomarandlorraine%2Fstrop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomarandlorraine%2Fstrop/lists"}