{"id":20879506,"url":"https://github.com/rsarky/coberon","last_synced_at":"2025-07-28T19:35:52.578Z","repository":{"id":120663328,"uuid":"176001280","full_name":"rsarky/Coberon","owner":"rsarky","description":"Compiler  Frontend for Oberon-0 written in C with Flex and Bison.","archived":false,"fork":false,"pushed_at":"2019-04-05T06:20:02.000Z","size":41,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T09:43:15.552Z","etag":null,"topics":["bison","c","compiler-frontend","compilers","flex"],"latest_commit_sha":null,"homepage":"","language":"Yacc","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsarky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-03-16T17:14:34.000Z","updated_at":"2024-12-26T16:42:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3be4da7-8a7f-489b-9c05-4aa8403963da","html_url":"https://github.com/rsarky/Coberon","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/rsarky%2FCoberon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsarky%2FCoberon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsarky%2FCoberon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsarky%2FCoberon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsarky","download_url":"https://codeload.github.com/rsarky/Coberon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243258497,"owners_count":20262297,"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":["bison","c","compiler-frontend","compilers","flex"],"created_at":"2024-11-18T07:16:46.428Z","updated_at":"2025-03-12T16:46:03.301Z","avatar_url":"https://github.com/rsarky.png","language":"Yacc","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coberon :sparkles:\nA compiler front end for [Oberon-0](http://oberon07.com/). \u003cbr\u003e\n**NOTE**: Coberon is an Academic Project and it is still WIP.\n\n## Compilation\n\n\u003e $ make all\u003cbr\u003e\n\nWhere `in.txt` is the test input.\n\n## Branches\n`master` : A simple lexer and parser.\u003cbr\u003e\n`implement-ast` : Adds on to `master` by implementing a basic AST for a subset of the grammar along with a Symbol Table.\n\n## Usage\n`master` branch:\n\u003e $ ./parser [-t] -f \u003cfilename\u003e\n  \n`implement-ast`\n\u003e $ ./parser [-t] [-a] [-s] -f \u003cfilename\u003e\n  \n### Options\n- `-t` Print the tokens extracted from the input by the lexer.\n- `-a` Print the Abstract Syntax Tree.\n- `-s` Print the contents of the Symbol Table.\n- **`-f`** Input File (Mandatory)\n\n## Future Goals\nThe project has a lot of scope for enhancements, namely:\n- Extending support for the AST and Symbol Table to the entire Oberon-0 grammar.\n- Implementing a Symbol Table for multiple scopes.\n- Including better Error Recovery methods.\n- Implementing a backend for the Compiler using LLVM.\n\n## Contributing\nI intend to make Coberon into a fully functional Oberon-0 compiler and all contributions are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsarky%2Fcoberon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsarky%2Fcoberon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsarky%2Fcoberon/lists"}