{"id":25705295,"url":"https://github.com/oznakn/vc","last_synced_at":"2025-09-05T11:50:53.600Z","repository":{"id":45222488,"uuid":"232584211","full_name":"oznakn/vc","owner":"oznakn","description":"A small compiler for METU CENG444's programming language v, written in Rust.","archived":false,"fork":false,"pushed_at":"2021-12-30T09:03:50.000Z","size":199,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-01T17:26:33.121Z","etag":null,"topics":["compiler","lalr1","lalrpop","language","metu-ceng","programming-language","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/oznakn.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}},"created_at":"2020-01-08T14:38:37.000Z","updated_at":"2024-03-15T16:42:49.000Z","dependencies_parsed_at":"2022-09-05T07:01:08.638Z","dependency_job_id":null,"html_url":"https://github.com/oznakn/vc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oznakn%2Fvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oznakn%2Fvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oznakn%2Fvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oznakn%2Fvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oznakn","download_url":"https://codeload.github.com/oznakn/vc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240619413,"owners_count":19830203,"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":["compiler","lalr1","lalrpop","language","metu-ceng","programming-language","rust"],"created_at":"2025-02-25T06:39:48.700Z","updated_at":"2025-02-25T06:39:50.353Z","avatar_url":"https://github.com/oznakn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vc, A Compiler for V\n\n[![](https://tokei.rs/b1/github/oznakn/vc)](https://github.com/oznakn/vc)\n[![](https://travis-ci.com/oznakn/vc.svg?branch=master)](https://travis-ci.com/oznakn/vc)\n\nA compiler for METU CENG444's programming langauge v, for semester 20191. To see the reference of the language, \nclick [here](https://github.com/bozsahin/ceng444/blob/a72670446051e0b206cd76a8a2ea169301c6bfce/project-material/vspecs-2019.pdf).\n\n`vc` is built with [Rust](https://www.rust-lang.org/), using the [lalrpop](https://github.com/lalrpop/lalrpop) parser generator, with LALR(1) mode enabled.\n\nFor now, `vc` only generates RISC-V 64 bit target code.\n\n## Requirements\n\n* `Rust`\n* [riscv-gnu-toolchain](https://github.com/riscv/riscv-gnu-toolchain)\n* [rv8](https://rv8.io/)\n\n## Getting Started\n\nIn order to run the code, type `cargo run -- compile examples/simple.v`. This will generate `simple.s` file in the `examples` directory.\n\nThen, type `run.sh simple`. This will automatically runs assembler and linker for the assembly file, and runs the target code using the `rv8` simulator.\n\n## Authors\n\n* Ozan Akın\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foznakn%2Fvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foznakn%2Fvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foznakn%2Fvc/lists"}