{"id":23450714,"url":"https://github.com/petru-braha/yp-compiler","last_synced_at":"2025-09-15T14:41:00.120Z","repository":{"id":267824902,"uuid":"902402418","full_name":"petru-braha/YP-compiler","owner":"petru-braha","description":"A custom C-like compiler developed on Linux","archived":false,"fork":false,"pushed_at":"2025-02-26T10:05:51.000Z","size":1109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T18:40:45.373Z","etag":null,"topics":["abstract-syntax-tree","assembly","lexical-analysis","semantics","symbol-table","syntactic-parser"],"latest_commit_sha":null,"homepage":"https://edu.info.uaic.ro/limbaje-formale-automate-si-compilatoare/#lectures","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/petru-braha.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":"2024-12-12T13:53:20.000Z","updated_at":"2025-02-26T10:05:55.000Z","dependencies_parsed_at":"2024-12-12T17:39:34.878Z","dependency_job_id":"a2153d1d-6da5-4c3d-ac08-66f1a2461f95","html_url":"https://github.com/petru-braha/YP-compiler","commit_stats":null,"previous_names":["petru-braha/yp-compiler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petru-braha%2FYP-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petru-braha%2FYP-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petru-braha%2FYP-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petru-braha%2FYP-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petru-braha","download_url":"https://codeload.github.com/petru-braha/YP-compiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248198865,"owners_count":21063626,"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":["abstract-syntax-tree","assembly","lexical-analysis","semantics","symbol-table","syntactic-parser"],"created_at":"2024-12-24T00:14:28.010Z","updated_at":"2025-04-10T09:59:18.236Z","avatar_url":"https://github.com/petru-braha.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YP compiler\n\nYou can find the romanian version of this document [here](/docs/README%20RO.md).\nTest-driven development principles were considered in this project.\n\n## Usage\n\n- for improved redability, we recommand VS Code and the \"Better Comments\" extension\n- commands to be passed in project root terminal:\n\n0. \"./setup.sh\" - checks for bison and flex installation and builds our compiler\n0. \"./build.sh\" - builds the custom compiler\n0. \"./src/discard.sh\" - delete the additional files\n0. \"./run.out \u003cfile_path\u003e\" - compiles and runs the source code\n\n## Technologies\n\n0. C++\n0. Flex\n0. Yacc/Bison\n\n## Features\n\n- All variables/parameters/objects have:\n    - explicit value(s)\n    - implicit value(s) if there is no given definiton\n        - e. g. 0, 0.0, '0', \"\", true\n    - no container will ever be \"undefined\"\n\n- x-dimensional arrays, where x could be any natural value not NULL. the same is assured for the size of each dimension.\n\n- Each file from [examples directory](/exs/) is responsable of one grammar rule.\n\n- See [implementation details](/docs/brainstorm.md) for more.\n\n- Default parameters for functions\n\n## Limitations\n\n- No type qualifiers\n- No pointers, refferences\n- No struct, union\n- No inheritence of classes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetru-braha%2Fyp-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetru-braha%2Fyp-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetru-braha%2Fyp-compiler/lists"}