{"id":18599470,"url":"https://github.com/zapu/antlr-example","last_synced_at":"2025-11-02T08:30:26.348Z","repository":{"id":138920716,"uuid":"9841863","full_name":"zapu/antlr-example","owner":"zapu","description":"Example compiler (?) in ANTLR4.","archived":false,"fork":false,"pushed_at":"2013-05-21T13:51:02.000Z","size":158,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-26T22:18:53.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/zapu.png","metadata":{"files":{"readme":"README","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":"2013-05-03T18:15:41.000Z","updated_at":"2020-02-17T23:48:56.000Z","dependencies_parsed_at":"2023-03-11T11:26:24.826Z","dependency_job_id":null,"html_url":"https://github.com/zapu/antlr-example","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/zapu%2Fantlr-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapu%2Fantlr-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapu%2Fantlr-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapu%2Fantlr-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapu","download_url":"https://codeload.github.com/zapu/antlr-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239389584,"owners_count":19630309,"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":[],"created_at":"2024-11-07T01:39:06.995Z","updated_at":"2025-11-02T08:30:26.252Z","avatar_url":"https://github.com/zapu.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Przykładowy kompilator na ANTLR4. Nie produkuje nic użytecznego - jest na etapie zamieniania kodu na obiekty opisujące ten kod.\r\n\r\nNastępnie należałoby stworzyć logikę przechodzącą po tych obiektach i generującą LLVM IR (lub kod maszynowy, jakiś bytecode itd.).\r\n\r\nGramatyka wraz z akcjami semantycznymi znajduje się w src/jfk/jfkgrammar.g4. Można ją skompilować za pomocą:\r\n\r\n\tjava -jar antlr-4.0-complete.jar jfkgrammar.g4\r\n\t\r\n\t\r\nKod który robilismy na srodowym wykladzie znajduje sie w oddzielnym branchu:\r\n\r\nhttps://github.com/zapu/antlr-example/tree/zajecia_14_05\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapu%2Fantlr-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapu%2Fantlr-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapu%2Fantlr-example/lists"}