{"id":18928900,"url":"https://github.com/smercer10/lvm3","last_synced_at":"2026-05-17T02:03:26.471Z","repository":{"id":250062661,"uuid":"831312160","full_name":"smercer10/lvm3","owner":"smercer10","description":"Lightweight LC-3 virtual machine.","archived":false,"fork":false,"pushed_at":"2024-07-30T16:14:32.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T19:17:39.115Z","etag":null,"topics":["lc3","linux","vm","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/smercer10.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":"2024-07-20T07:31:51.000Z","updated_at":"2024-07-30T16:14:35.000Z","dependencies_parsed_at":"2024-07-30T20:01:30.127Z","dependency_job_id":null,"html_url":"https://github.com/smercer10/lvm3","commit_stats":null,"previous_names":["smercer10/lvm3"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smercer10%2Flvm3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smercer10%2Flvm3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smercer10%2Flvm3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smercer10%2Flvm3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smercer10","download_url":"https://codeload.github.com/smercer10/lvm3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239923971,"owners_count":19719234,"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":["lc3","linux","vm","zig"],"created_at":"2024-11-08T11:28:36.456Z","updated_at":"2026-03-16T00:30:18.150Z","avatar_url":"https://github.com/smercer10.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LVM-3\n\nLVM-3 is a virtual machine (VM) that implements the [LC-3 architecture](https://www.cs.utexas.edu/~fussell/courses/cs310h/lectures/Lecture_10-310h.pdf) and can be used to run LC-3 programs on modern computers. The VM currently only supports Linux, but it can be easily ported to other operating systems with minor API changes.\n\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/smercer10/lvm3/blob/main/LICENSE)\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/smercer10/lvm3/ci.yml?label=CI)](https://github.com/smercer10/lvm3/actions/workflows/ci.yml)\n\n## Usage \n\n```bash\nlvm3 \u003cpath to program file\u003e\n```\n\nThe VM expects files that have been written in LC-3 assembly and preassembled into machine code.\nTwo examples have been provided in the `programs` directory (credit to [Ryan Pendleton](https://github.com/rpendleton) and [Justin Meiners](https://github.com/justinmeiners)).\n\n\u003cimg src=\"https://github.com/user-attachments/assets/7d6fc253-35c8-447f-a2ac-722299061a3b\" width=\"400\"\u003e  \u003cimg src=\"https://github.com/user-attachments/assets/b3f03a04-d0f5-4a74-8496-59fae4cf8242\" width=\"400\"\u003e \n\n## Build Locally\n\n### Prerequisites\n\n* Linux\n* Zig nightly build\n\n### Commands\n\n* Build the executable:\n\n```bash\nzig build\n```\n\n* Build and run the executable:\n\n```bash\nzig build run -- \u003cpath to program file\u003e\n```\n\n* Run the tests:\n\n```bash\nzig build test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmercer10%2Flvm3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmercer10%2Flvm3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmercer10%2Flvm3/lists"}