{"id":17658023,"url":"https://github.com/samolego/fri-prev-lang24compiler","last_synced_at":"2025-03-30T10:13:56.194Z","repository":{"id":258827589,"uuid":"762799404","full_name":"samolego/FRI-PREV-Lang24Compiler","owner":"samolego","description":"Compiler for Lang24 language.","archived":false,"fork":false,"pushed_at":"2024-05-27T13:33:33.000Z","size":880,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T12:12:11.642Z","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/samolego.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-02-24T18:12:46.000Z","updated_at":"2024-10-20T18:10:52.000Z","dependencies_parsed_at":"2024-10-22T00:29:11.883Z","dependency_job_id":null,"html_url":"https://github.com/samolego/FRI-PREV-Lang24Compiler","commit_stats":null,"previous_names":["samolego/fri-prev-lang24compiler"],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samolego%2FFRI-PREV-Lang24Compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samolego%2FFRI-PREV-Lang24Compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samolego%2FFRI-PREV-Lang24Compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samolego%2FFRI-PREV-Lang24Compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samolego","download_url":"https://codeload.github.com/samolego/FRI-PREV-Lang24Compiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301996,"owners_count":20755514,"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-10-23T14:43:53.967Z","updated_at":"2025-03-30T10:13:56.168Z","avatar_url":"https://github.com/samolego.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lang24 Compiler\n\nA project for university course \"Compilers\"\n\n## About Lang24 language\nSee [language specification](lang24_specs.md).\n\n## Building\n\nSimply type\n```bash\n./gradlew build\n```\nin terminal. The output jar file will be in `build/libs/` directory.\n\n## Running\n\nTo run the compiler, use\n```bash\n./gradlew run -PsrcFileName=test_file\n```\nwhere `test_file` is the name of the file in `prg/` directory, excluding file extension.\n\nAvailable arguments are (all must be used with `-P` prefix):\n* `srcFileName` - name of the source file in `prg/` directory\n* `targetPhase` - phase of the compiler to run (default is `all`)\n* `loggedPhases` - list of phases to log (default is `all`)\n* `xsl` - path to xsl file for generating AST xml (default is `lib/xsl/`)\n\n### Compiling with make\n\n1. Download [antlr](https://www.antlr.org/download/antlr-4.13.1-complete.jar) to project `lib/` folder.\n2. Execute following command in project root directory:\n```bash\nmake all\n```\n\n### Running with make\n\n1. Write a file `filename.lang24` in `prg/` directory.\n2. Execute following command in `prg/` directory:\n```bash\nmake TARGETPHASE=lexan filename\n```\nwhere `filename` is the name of the the file, excluding file extension.\nCompiler will run up to phase `lexan` in this case.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamolego%2Ffri-prev-lang24compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamolego%2Ffri-prev-lang24compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamolego%2Ffri-prev-lang24compiler/lists"}