{"id":19697433,"url":"https://github.com/shaolans/universal_machine","last_synced_at":"2025-02-27T11:42:50.691Z","repository":{"id":121960768,"uuid":"124413359","full_name":"Shaolans/Universal_Machine","owner":"Shaolans","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-05T10:16:07.000Z","size":7338,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T09:57:57.173Z","etag":null,"topics":["antlr4","compiler","icfp2006","virtual-machine"],"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/Shaolans.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":"2018-03-08T15:49:01.000Z","updated_at":"2023-01-02T00:10:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbfd3a9f-2de9-4394-aac6-b94347d49c05","html_url":"https://github.com/Shaolans/Universal_Machine","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/Shaolans%2FUniversal_Machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shaolans%2FUniversal_Machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shaolans%2FUniversal_Machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shaolans%2FUniversal_Machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shaolans","download_url":"https://codeload.github.com/Shaolans/Universal_Machine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241008055,"owners_count":19893100,"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":["antlr4","compiler","icfp2006","virtual-machine"],"created_at":"2024-11-11T19:38:20.139Z","updated_at":"2025-02-27T11:42:50.670Z","avatar_url":"https://github.com/Shaolans.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Universal Machine\n\n## But\nCe projet à pour but, l'implantation de la machine universelle dont les spécifications\nproviennent du concours de programmation ICFP de 2006.\nSe trouve aussi, une implantation d'un compilateur du langage S-UM vers le langage binaire comprit par la machine universelle.\n\n## Compiler le projet\nLe projet contient à la racine la machine virtuelle (universal_machine) et le compilateur S-UM (SUMCompiler.jar).\nCependant si vous souhaitez tout de même compiler les différents programmes,\nsuivez la description suivante.\n\n### Compiler la machine universelle\nDepuis la racine du projet:\n1. cd um\n2. make clean\n3. make  \nLa machine universelle se trouvera dans ./um\n\n### Compiler le compilateur S-UM\n1. cd sum/SUM\n2. ant clean\n3. ant jar  \nLe compilateur se trouvera sur le chemin ./sum/SUM/jar\n\n## Executer le projet\n### Executer la machine universelle\nLa machine universelle s'éxecute comme ceci:  \n./universal_machine \u003cinput.um\u003e  \nPar exemple:  \nSi vous êtes à la racine du projet vous pouvez éffectuer la commande suivante:  \n./universal_machine ./um/ressources/sandmark.umz  \nou  \n./universal_machine ./tests/test-print/test-print.um  \n\n### Compiler un fichier SUM vers le langage UM\nPour compiler un fichier, éffectuez cette commande:  \njava -jar SUMCompiler.jar \u003cinput.sum\u003e \u003coutput.um\u003e [--verbose-asm || --verbose]  \nPar exemple:  \nSi vous êtes à la racine du projet vous pouvez éffectuer la commande suivante:  \njava -jar SUMCompiler.jar ./tests/test-print/test-print.sum ./tests/test-print/test-print.um --verbose-asm  \nou  \njava -jar SUMCompiler.jar ./tests/test-print/test-print.sum ./tests/test-print/test-print.um  \nou  \njava -jar SUMCompiler.jar ./tests/test-print/test-print.sum ./tests/test-print/test-print.um --verbose  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaolans%2Funiversal_machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaolans%2Funiversal_machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaolans%2Funiversal_machine/lists"}