{"id":24433232,"url":"https://github.com/codemyst/microj","last_synced_at":"2025-10-16T05:03:07.736Z","repository":{"id":62955466,"uuid":"563998494","full_name":"CodeMyst/microj","owner":"CodeMyst","description":"Compiler for a Java-like language. Made for the Compiler Construction course, at the Faculty of Sciences, Novi Sad.","archived":false,"fork":false,"pushed_at":"2023-02-06T09:10:18.000Z","size":163,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T09:12:32.052Z","etag":null,"topics":["compiler","microjava"],"latest_commit_sha":null,"homepage":"","language":"Java","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/CodeMyst.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}},"created_at":"2022-11-09T19:23:38.000Z","updated_at":"2023-12-30T17:43:51.000Z","dependencies_parsed_at":"2023-02-19T06:01:15.745Z","dependency_job_id":null,"html_url":"https://github.com/CodeMyst/microj","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/CodeMyst%2Fmicroj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fmicroj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fmicroj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMyst%2Fmicroj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeMyst","download_url":"https://codeload.github.com/CodeMyst/microj/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248583069,"owners_count":21128507,"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","microjava"],"created_at":"2025-01-20T16:33:40.988Z","updated_at":"2025-10-16T05:03:02.717Z","avatar_url":"https://github.com/CodeMyst.png","language":"Java","readme":"# microj ![build badge](https://github.com/CodeMyst/microj/actions/workflows/gradle.yml/badge.svg)\n\nCompiler for a Java-like language. Made for the Compiler Construction course, at the Faculty of Sciences, Novi Sad.\n\nExample of micro java:\n\n```java\nprogram P\n\tfinal int size = 10;\n\tclass Table {\n\t\tint[] pos;\n\t\tint[] neg;\n\t}\n\tTable val;\n{\n\tvoid main()\n\t\tint x, i;\n\t{ //---------- Initialize val\n\t\tval = new Table;\n\t\tval.pos = new int[size]; val.neg = new int[size];\n\t\ti = 0;\n\t\twhile (i \u003c size) {\n\t\t\tval.pos[i] = 0; val.neg[i] = 0;\n\t\t\ti++;\n\t\t}\n\t//---------- Read values\n\t\tread(x);\n\t\twhile (x != 0) {\n\t\t\tif (0 \u003c= x \u0026\u0026 x \u003c size) {\n\t\t\t\tval.pos[x]++;\n\t\t\t} else if (-size \u003c x \u0026\u0026 x \u003c 0) {\n\t\t\t\tval.neg[-x]++;\n\t\t\t}\n\t\t\tread(x);\n\t\t}\n\t}\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemyst%2Fmicroj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemyst%2Fmicroj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemyst%2Fmicroj/lists"}