{"id":15649281,"url":"https://github.com/eregon/mozart-graal","last_synced_at":"2025-04-23T13:45:24.932Z","repository":{"id":66285962,"uuid":"52368733","full_name":"eregon/mozart-graal","owner":"eregon","description":"An implementation of Oz on top of Truffle and Graal","archived":false,"fork":false,"pushed_at":"2022-01-07T10:03:45.000Z","size":38388,"stargazers_count":41,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-30T00:12:25.707Z","etag":null,"topics":["graal","graalvm","mozart","oz","programming-language","truffle"],"latest_commit_sha":null,"homepage":"","language":"Oz","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eregon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-02-23T15:23:50.000Z","updated_at":"2024-07-03T14:07:40.000Z","dependencies_parsed_at":"2023-03-13T20:30:09.073Z","dependency_job_id":null,"html_url":"https://github.com/eregon/mozart-graal","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/eregon%2Fmozart-graal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eregon%2Fmozart-graal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eregon%2Fmozart-graal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eregon%2Fmozart-graal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eregon","download_url":"https://codeload.github.com/eregon/mozart-graal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250442097,"owners_count":21431269,"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":["graal","graalvm","mozart","oz","programming-language","truffle"],"created_at":"2024-10-03T12:29:07.415Z","updated_at":"2025-04-23T13:45:24.913Z","avatar_url":"https://github.com/eregon.png","language":"Oz","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mozart-Graal\n\n[![Build Status](https://travis-ci.org/eregon/mozart-graal.svg?branch=master)](https://travis-ci.org/eregon/mozart-graal)\n\nAn implementation of the [Oz programming language](https://en.wikipedia.org/wiki/Oz_(programming_language)) on top of Truffle and Graal.\n\nThe bootcompiler and Oz libraries are imported from [Mozart 2](https://github.com/mozart/mozart2).\n\n## Interesting Points\n\n* A [master thesis](https://dial.uclouvain.be/memoire/ucl/en/object/thesis%3A10657/datastream/PDF_01/view) was made with this project to optimize performance. It details many static and dynamic optimizations.\n\n* Tail calls are optimized and compiled as loops, see `TailCallCatcherNode`.\n  Self-recursion is optimized further in `SelfTailCallCatcherNode`.\n\n* There is a Truffle AST serializer in `OzSerializer` using [Kryo](https://github.com/EsotericSoftware/kryo) able to serialize Oz code.\n\n* The project uses the Coroutine patch for HotSpot to be able to create many lightweight threads.\n\n* The parser, typer, and some optimizations are written in Scala (`bootcompiler/`)\n  and the AST produced by Scala is then translated to a Truffle AST in `Translator`.\n\n## Current Status\n\nEarly stage but the Panel and Browser are working.\n\n![The Panel On Mozart-Graal](https://pbs.twimg.com/media/Cf_bHhQXIAAtp_X.png)\n\n## Dependencies\n\n* Java 8\n* Maven 3\n* C/C++ toolchain (`build-essential`) for building Graal\n* Python 2.7 (for `mx`)\n* Ruby \u003e= 2.2.0 (for the launcher)\n\n## Build instructions\n\n```bash\nmkdir mozart-dev\ncd mozart-dev\ngit clone https://github.com/eregon/mozart-graal.git\ncd mozart-graal\nrake\n```\n\nIt takes around 5 min to build everything.\n\nRun with\n```bash\n./oz\n```\n\n## Graal\n\nGraal is not built by default to save time.\nTo build it, run\n```bash\nrake build:graal\n```\n\nOn recent Linux, you need to do part of the build manually, see [Building JVMCI](vm/jvmci/README.md).\n\n## IDE: IntelliJ IDEA\n\nIntelliJ IDEA configuration are checked in the repository and should work out of the box.\nImport `mozart-dev` as a project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feregon%2Fmozart-graal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feregon%2Fmozart-graal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feregon%2Fmozart-graal/lists"}