{"id":18729538,"url":"https://github.com/gabryon99/mucomp-lang","last_synced_at":"2026-05-03T05:37:36.498Z","repository":{"id":135462834,"uuid":"424659019","full_name":"gabryon99/mucomp-lang","owner":"gabryon99","description":"μcomp-lang is a didactic language implemented for Language, Compilers and Interpreters course at UniPi.","archived":false,"fork":false,"pushed_at":"2022-02-20T10:03:35.000Z","size":1050,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-28T14:36:55.959Z","etag":null,"topics":["compilers","languages","lexer","llvm","menhir","ocaml","ocamllex","parser","programming"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabryon99.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":"2021-11-04T16:11:04.000Z","updated_at":"2023-09-28T17:53:01.000Z","dependencies_parsed_at":"2023-08-01T01:47:50.697Z","dependency_job_id":null,"html_url":"https://github.com/gabryon99/mucomp-lang","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/gabryon99%2Fmucomp-lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabryon99%2Fmucomp-lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabryon99%2Fmucomp-lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabryon99%2Fmucomp-lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabryon99","download_url":"https://codeload.github.com/gabryon99/mucomp-lang/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239599040,"owners_count":19665911,"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":["compilers","languages","lexer","llvm","menhir","ocaml","ocamllex","parser","programming"],"created_at":"2024-11-07T14:27:31.171Z","updated_at":"2025-11-12T07:30:12.855Z","avatar_url":"https://github.com/gabryon99.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align='center'\u003e\n    \u003cimg src='./assets/comu-logo.png' width='400'/\u003e\n\u003c/p\u003e\n\n## μcomp-lang\n\nμcomp-lang is a didactic language implemented for *Language, Compilers and Iterpreters* course at **UniPi**.\n\n### Report\n\nRead the report `mucomp-report.pdf` inside `asset` folder if you are interested to how mucomp-lang is implemented\n\n### Example\n\nThe snippet below shows a simple program written in μcomp.\n\n```\n\ncomponent EntryPoint provides App {\n\n    def fib(n: int): int {\n        if (n == 0) {\n            return 0;\n        }\n\n        if (n == 1) {\n            return 1;\n        }\n\n        return fib(n - 1) + fib(n - 2);\n    }\n\n    def main() : int {\n        print(fib(10)); // prints 10\n        return 0;\n    }\n}\n\n```\n\n#### Trivia\n\nThe mascotte's name is \"*Comu*\" = \"🐄\" + \"μ\" (like: \"muuuh\") (I know, it's a bad pun).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabryon99%2Fmucomp-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabryon99%2Fmucomp-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabryon99%2Fmucomp-lang/lists"}