{"id":31041750,"url":"https://github.com/megave/compiler-task","last_synced_at":"2025-09-14T10:40:53.211Z","repository":{"id":309797911,"uuid":"694930073","full_name":"megaVE/compiler-task","owner":"megaVE","description":"My solution for the final proposed task from the Language Theory and Compilers discipline, during the 4th period of the course | Resolução minha do trabalho final proposto durante a disciplina de Teoria de Linguagens e Compiladores, no 4º Período do curso","archived":false,"fork":false,"pushed_at":"2025-08-13T20:21:09.000Z","size":643,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-13T22:17:04.177Z","etag":null,"topics":["compiler","language-theory"],"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/megaVE.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,"zenodo":null}},"created_at":"2023-09-22T01:46:45.000Z","updated_at":"2025-08-13T20:21:13.000Z","dependencies_parsed_at":"2025-08-13T22:17:41.139Z","dependency_job_id":"72d84559-ee71-425c-8879-a88a363fad47","html_url":"https://github.com/megaVE/compiler-task","commit_stats":null,"previous_names":["megave/compiler-task"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/megaVE/compiler-task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fcompiler-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fcompiler-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fcompiler-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fcompiler-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/megaVE","download_url":"https://codeload.github.com/megaVE/compiler-task/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fcompiler-task/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275094398,"owners_count":25404446,"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-09-14T02:00:10.474Z","response_time":75,"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":["compiler","language-theory"],"created_at":"2025-09-14T10:40:41.193Z","updated_at":"2025-09-14T10:40:53.183Z","avatar_url":"https://github.com/megaVE.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compiler Task (Tarefa de Compiladores)\n\nEN: My solution for the final proposed task from the Language Theory and Compilers discipline, during the 4th period of the course.\nPT: Resolução minha do trabalho final proposto durante a disciplina de Teoria de Linguagens e Compiladores, no 4º Período do curso.\n\n## Task Description (Descrição do Trabalho)\n\nDevelopment of the functions scope of the program, as well as the implementation of the \"retorn\" instruction, which allows for the funciton to be ended and return its value. Also some other changes and adaptations were made to the base source code to make this possible and better.\n\n(Desenvolvimento do escopo de funções do programa, bem como a implementação da instrução \"retorne\", que encerra a execução da função e retorna seu valor. Também outras mudanças e adaptações foram feitas ao código base para fazer isso possível e melhor.)\n\n## Folders and Files Overview (Visão Geral das Pastas e Arquivos)\n- /Examples:\n  - EN: Sample programs for the compiler to run.\n  - PT: Programas de exemplo para o compilador copilar.\n- /Main:\n  - All the development versions for the compiler task.\n  - Todas as versões do desenvolvimento para a tarefa do compilador.\n- **Simples Compiler.jar**:\n  - Allows for SIMPLES language programs to be compiled and runned\n  - Permite programas da linguagem SIMPLES serem compilados e rodados\n\n## Setup (Configuração)\n\n### Requirements (Requisitos)\n- Windows 10, 64 bits\n- WSL\n- Docker Desktop\n\n### Tutorial\n1. Create a new folder on VS Code.\\\n(Crie uma nova pasta no VS Code.)\n2. Have both **docker-compose.yaml** and **Dockerfile** files inside this root folder.\\\n(Tenha ambos os arquivos **docker-compose.yaml** e **Dockerfile** na raiz desta pasta.)\n3. Create a new folder inside the root folder called **projects**.\\\n(Crie uma nova pasta dentro desta pasta raiz chamada **projects**.)\n4. Compose up the .yaml file.\\\n(Use a opção \"Compose Up\" no arquivo .yaml.)\n5. Attach a Shell to the project with the option Docker-\u003eContainer-\u003eAttach Shell from **VS Code's Docker Extention**.\\\n(Anexe um Shell ao projeto pela opção Docker-\u003eContainer-\u003eAttach Shell pela **Extensão do Docker do VS Code**)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegave%2Fcompiler-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegave%2Fcompiler-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegave%2Fcompiler-task/lists"}