{"id":19243355,"url":"https://github.com/alexrasch/wannabevm","last_synced_at":"2025-10-09T13:10:11.189Z","repository":{"id":184834010,"uuid":"672553957","full_name":"AlexRasch/WannaBeVM","owner":"AlexRasch","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-05T23:02:09.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T14:47:04.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexRasch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-07-30T13:33:08.000Z","updated_at":"2023-07-30T13:33:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"5193874c-98dc-445b-81de-a194fb7c4e15","html_url":"https://github.com/AlexRasch/WannaBeVM","commit_stats":null,"previous_names":["alexrasch/wannabevm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlexRasch/WannaBeVM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexRasch%2FWannaBeVM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexRasch%2FWannaBeVM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexRasch%2FWannaBeVM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexRasch%2FWannaBeVM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexRasch","download_url":"https://codeload.github.com/AlexRasch/WannaBeVM/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexRasch%2FWannaBeVM/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001543,"owners_count":26083102,"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-09T02:00:07.460Z","response_time":59,"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-11-09T17:17:45.010Z","updated_at":"2025-10-09T13:10:11.184Z","avatar_url":"https://github.com/AlexRasch.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WannaBeVM\n\n![image](https://github.com/AlexRasch/WannaBeVM/assets/46262688/430cced8-a17b-46f2-8143-ff1098fab3b0)\nWannaBeVM is a simple virtual machine (VM) written in C#. It interprets a bytecode representation of basic mathematical operations.\n\n## Usage\n\nTo use WannaBeVM, you can call it like this:\n\n```csharp\nbyte[] bytecode = new byte[]\n{\n    1, 10,      // Push 10 onto the stack\n    1, 5,       // Push 5 onto the stack\n\n    2,          // Add the top two numbers (10 + 5 = 15)\n\n    1, 3,       // Push 3 onto the stack\n\n    4,          // Multiply the top two numbers (15 * 3 = 45)\n\n    5,          // Divide the top two numbers (45 / 3 = 15)\n\n    6           // Return the output (15)\n};\n\nVirtualMachine vm = new VirtualMachine();\nint result = vm.Interpret(bytecode);\nConsole.WriteLine(\"Result: \" + result); // Output: Result: 15\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexrasch%2Fwannabevm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexrasch%2Fwannabevm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexrasch%2Fwannabevm/lists"}