{"id":20968631,"url":"https://github.com/souls-r/minic","last_synced_at":"2026-04-27T13:35:01.352Z","repository":{"id":205060604,"uuid":"558819549","full_name":"Souls-R/miniC","owner":"Souls-R","description":"hust compile lab 2022","archived":false,"fork":false,"pushed_at":"2023-01-05T14:39:57.000Z","size":8627,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-30T22:37:22.039Z","etag":null,"topics":["llvm"],"latest_commit_sha":null,"homepage":"","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/Souls-R.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}},"created_at":"2022-10-28T11:19:44.000Z","updated_at":"2023-11-02T08:27:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"c987090e-f0c0-44b3-b3ae-5f2bbc2f2e97","html_url":"https://github.com/Souls-R/miniC","commit_stats":null,"previous_names":["souls-r/minic"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Souls-R/miniC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Souls-R%2FminiC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Souls-R%2FminiC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Souls-R%2FminiC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Souls-R%2FminiC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Souls-R","download_url":"https://codeload.github.com/Souls-R/miniC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Souls-R%2FminiC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32339289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["llvm"],"created_at":"2024-11-19T03:14:54.382Z","updated_at":"2026-04-27T13:35:01.324Z","avatar_url":"https://github.com/Souls-R.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HUST CSE 2021编译原理实验 MiniC编译器\n\n使用Flex,Bison,LLVM完成MiniC编译器。\n\n实验分为5个lab，每个lab细分task，指导书见其目录下。\n\n可使用github codespace学习本项目，评测脚本见下说明，通过测评进行的文件修改见commit记录。\n\n## 编译原理实验指导说明\n\n1. 实验环境为Ubuntu20.04系统，安装有LLVM-10，clang-10，git，vscode-server及相关插件等基础软件。\n2. 实验内容的源为\u003chttp://222.20.94.23:24080/dog/minic\u003e，可通过git拉取到本地，并把文件夹命名为miniC，即在路径下有/ubuntu/cse/miniC/。不要修改已存在的文件结构，避免判题错误。\n3. 在系统中申请虚拟机后，使用vscode连接到虚拟机，对应的账号和密码以课程发布为准，工作目录为家目录下的miniC文件夹。使用vscode客户端，点击左上角的文件菜单，选择打开文件夹，选择miniC后，即可进入工作目录。此时你将获得一个搭配好环境的编程环境。\n4. 为了更加良好的体验，可以安装`Lex`,`LLVM`,`Bison`等插件。\n5. 请从lab1实验做起，并在实验系统中随时提交作业。\n6. 在文件夹test_and_answer中，给出了实验系统用来测试的脚本副本，可以参考或执行其中的内容自行预先测试。执行方式参考`python3 lab_dispatch.py lab1 judge_101.sh`。\n7. 在文件夹answers中，给出了每个实验子任务的样例输出的正确结果的副本，可以对比自己测试的输出和对应的正确结果，进行调试。\n8. 你拥有对miniC操作的所有权限，但请注意不要破坏文件结构，同时注意随时保存学习内容。可以删除.git文件夹后使用git进行内容管理，也可以直接将相关文件保存到本地。\n9. 当出现不可恢复错误时，可删除并重新申请虚拟机，随后恢复上述内容即可。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsouls-r%2Fminic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsouls-r%2Fminic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsouls-r%2Fminic/lists"}