{"id":19293928,"url":"https://github.com/domamaric/ppj","last_synced_at":"2025-11-14T17:11:59.879Z","repository":{"id":177417147,"uuid":"420777193","full_name":"domamaric/PPJ","owner":"domamaric","description":"Python solutions for Programming Language Translation laboratory exercies.","archived":false,"fork":false,"pushed_at":"2023-12-08T20:18:28.000Z","size":530,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-05T20:42:24.320Z","etag":null,"topics":["compiler","lexical-analyzer","ll1-grammar","ll1-parser","semantic-analyzer","syntax-analyzer"],"latest_commit_sha":null,"homepage":"","language":"Python","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/domamaric.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}},"created_at":"2021-10-24T19:32:35.000Z","updated_at":"2023-12-13T11:03:11.000Z","dependencies_parsed_at":"2023-12-08T21:25:27.320Z","dependency_job_id":"56cf42f0-5b41-4b3e-8893-9f0bc171d3d1","html_url":"https://github.com/domamaric/PPJ","commit_stats":null,"previous_names":["domamaric/ppj"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domamaric%2FPPJ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domamaric%2FPPJ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domamaric%2FPPJ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domamaric%2FPPJ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domamaric","download_url":"https://codeload.github.com/domamaric/PPJ/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240397015,"owners_count":19794776,"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":["compiler","lexical-analyzer","ll1-grammar","ll1-parser","semantic-analyzer","syntax-analyzer"],"created_at":"2024-11-09T22:36:35.991Z","updated_at":"2025-11-14T17:11:54.857Z","avatar_url":"https://github.com/domamaric.png","language":"Python","readme":"# Programming Language Translation Course Project\n\nThis repository contains my solutions for the laboratory exercises in the\nProgramming Language Translation course at the Faculty of Electrical Engineering and Computing.\n\n## Laboratory Exercises Overview\n\n### Laboratory Exercise 1: Lexical Analyzer Construction\n\n#### Overview\n\nThe first laboratory exercise focuses on the construction of a lexical analyzer.\nThe goal is to implement a tool capable of recognizing and tokenizing the\nlexical elements of a programming language.\n\n#### Implementation\n\n- **Lexical Analyzer:** Construct a lexical analyzer to identify and tokenize keywords, identifiers, operators, and other lexical elements.\n\n### Laboratory Exercise 2: Syntax Analysis\n\n#### Overview\n\nThe second laboratory exercise delves into syntax analysis. The task involves\nbuilding a parser that can analyze the structure of a program and identify its\nsyntactic elements.\n\n#### Implementation\n\n- **Parser:** Develop a syntax analyzer capable of parsing the grammatical structure of a program and generating an appropriate parse tree.\n\n### Laboratory Exercise 3: Semantic Analysis\n\n#### Overview\n\nThe third laboratory exercise focuses on semantic analysis. The objective is to\nimplement a tool that can analyze and check the meaning of a program in terms of\nits semantic correctness.\n\n#### Implementation\n\n- **Semantic Analyzer:** Construct a semantic analyzer to perform checks on the program's meaning and identify potential semantic errors.\n\n### Laboratory Exercise 4 (Incomplete): Code generator for FRISC\n\n#### Overview\n\nThe topic of the fourth laboratory exercise is code generation. The task is to\nprogrammatically realize the generator of the FRISC processor mnemonic code for\nthe PJ language.\n\n#### Implementation\n\n- **Unfortunately**: This laboratory exercise is not implemented because I already had satisfactory grade :grin:.\n\n## Getting Started\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/domamaric/PPJ.git\n   cd PPJ/\n\n## TO-DO\n\n- [ ] Add docstring for second laboratory exercise.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomamaric%2Fppj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomamaric%2Fppj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomamaric%2Fppj/lists"}