{"id":16382310,"url":"https://github.com/pingbird/stackvm","last_synced_at":"2025-06-17T19:36:47.841Z","repository":{"id":150337541,"uuid":"289708865","full_name":"pingbird/stackvm","owner":"pingbird","description":"A curiously fast Brainfuck runtime","archived":false,"fork":false,"pushed_at":"2022-05-10T23:32:31.000Z","size":476,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T11:12:53.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pingbird.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-08-23T15:03:43.000Z","updated_at":"2023-12-27T20:19:19.000Z","dependencies_parsed_at":"2023-04-06T09:55:46.985Z","dependency_job_id":null,"html_url":"https://github.com/pingbird/stackvm","commit_stats":{"total_commits":81,"total_committers":2,"mean_commits":40.5,"dds":0.0864197530864198,"last_synced_commit":"34557926c80969cb8cba67b3fa58e1452cb17b46"},"previous_names":["pingbird/stackvm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pingbird/stackvm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingbird%2Fstackvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingbird%2Fstackvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingbird%2Fstackvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingbird%2Fstackvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pingbird","download_url":"https://codeload.github.com/pingbird/stackvm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingbird%2Fstackvm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260427402,"owners_count":23007502,"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-11T04:04:55.797Z","updated_at":"2025-06-17T19:36:42.827Z","avatar_url":"https://github.com/pingbird.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stackvm - A brainfuck VM\r\n\r\n![](https://user-images.githubusercontent.com/2466461/92068152-23277880-ed74-11ea-8cf9-c9f9d85afc27.png)\r\n\r\n## Setup\r\n\r\nRequirements:\r\n* CMake\r\n* LLVM\r\n* A C++ compiler\r\n\r\nPull in submodules:\r\n```\r\ngit submodule update --init\r\n```\r\n\r\nBuild:\r\n\r\n```\r\nmkdir build\r\ncd build\r\ncmake ..\r\nmake -j12\r\n```\r\n\r\n## Usage\r\n\r\n```\r\nUsage:\r\n    stackvm [-h] [-w \u003cbits\u003e] [-e \u003cvalue\u003e] [-m \u003csize\u003e] [-p \u003ccount\u003e] [-q] [-d \u003cdir\u003e] \u003cprogram\u003e\r\nParameters:\r\n    -h, --help             print this help message\r\n    -w, --width \u003cbits\u003e     width of cells in bits\r\n                           default = 8\r\n    -e, --eof \u003cvalue\u003e      value of getchar when eof is reached\r\n                           default = 0\r\n    -m, --memory \u003csize\u003e    how much virtual memory to reserve to the left and right\r\n                           default = 128MiB,128MiB\r\n    -p, --profile \u003ccount\u003e  enable profiling of build and execution\r\n    -q, --quiet            suppress printing profiling info to the console\r\n    -d, --dump \u003cdir\u003e       dumps intermediates into the specified folder\r\n```\r\n\r\n## Architecture\r\n\r\n```\r\nmain.cc    - Command line interface to the interpreter\r\nruntime.cc - Linkable runtime to native code generated by backend\r\nsrc/bfvm         - Public facing API\r\nsrc/bf           - High level brainfuck (HBF) manipulation\r\nsrc/ir           - SSA IR graph implementation and builder\r\nsrc/ir_print     - Pretty printer for IR\r\nsrc/lowering     - Lowers HBF into IR\r\nsrc/opt_fold         - Expression fold engine\r\nsrc/opt_resolve_regs - Simple SSA register pruning \r\nsrc/opt_resolve_type - Lazy type resolution \r\nsrc/opt_validate     - Graph validator\r\nsrc/backend_llvm - Translates StackVM IR to LLVM IR\r\nsrc/jit          - Host JIT pipeline\r\nsrc/diagnostics  - DI for logging and artifact dumps\r\nsrc/tape_memory  - Lazy tape memory allocator\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingbird%2Fstackvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpingbird%2Fstackvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingbird%2Fstackvm/lists"}