{"id":18430365,"url":"https://github.com/avan1235/latte-compiler","last_synced_at":"2025-10-31T09:32:59.644Z","repository":{"id":103772384,"uuid":"441953807","full_name":"avan1235/latte-compiler","owner":"avan1235","description":"Latte language native compiler written in Kotlin for Compilers Construction course","archived":false,"fork":false,"pushed_at":"2023-03-07T11:23:57.000Z","size":421,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T00:49:16.539Z","etag":null,"topics":["compilers","compilers-design","kotlin","studies"],"latest_commit_sha":null,"homepage":"https://procyk.in/tags/latte","language":"Kotlin","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/avan1235.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":"2021-12-26T18:05:05.000Z","updated_at":"2023-12-03T06:10:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"3797fb7c-5be4-4a52-b25c-6945db194a0d","html_url":"https://github.com/avan1235/latte-compiler","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/avan1235/latte-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avan1235%2Flatte-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avan1235%2Flatte-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avan1235%2Flatte-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avan1235%2Flatte-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avan1235","download_url":"https://codeload.github.com/avan1235/latte-compiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avan1235%2Flatte-compiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013974,"owners_count":26085429,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","compilers-design","kotlin","studies"],"created_at":"2024-11-06T05:20:26.842Z","updated_at":"2025-10-13T06:38:12.214Z","avatar_url":"https://github.com/avan1235.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Latte Compiler\n[![Tests badge](https://img.shields.io/github/actions/workflow/status/avan1235/latte-compiler/test.yaml?branch=master)](https://img.shields.io/github/actions/workflow/status/avan1235/latte-compiler/test.yaml?branch=master)\n[![Build badge](https://img.shields.io/github/actions/workflow/status/avan1235/latte-compiler/build-native.yaml?branch=master)](https://img.shields.io/github/actions/workflow/status/avan1235/latte-compiler/build-native.yaml?branch=master)\n[![Github All Releases](https://img.shields.io/github/downloads/avan1235/latte-compiler/total.svg?label=downloads)](https://github.com/avan1235/latte-compiler/releases/latest)\n\n[Latte](https://latte-lang.org/) is originally a JVM language that is fully interoperable with Java.\nThis project implements a native x86 compiler for this language with no support for interoperability with other\nlanguages but tries to provide an optimized version of native version of this language.\n\n## Building project\n\n### Project requirements\n\nTo build project you need:\n\n- [Java 11](https://adoptopenjdk.net/) to build compiler from Kotlin sources and run Gradle in Java 11 environment\n- [gcc](https://gcc.gnu.org/)  with `gcc-multilib` to compile [runtime.c](./lib/runtime.c) library file in x86 version\n\n### Build commands\n\n#### Make\n\n- `make latte` compiles project and produces `latc_x86` binary in project directory\n- `make test` runs unit tests defined in project\n- `make clean` cleans build files\n\n#### Gradle\n\n- `./gradlew nativeImage` compiles project and produces `latc_x86` binary in project directory\n- `./gradlew test` runs unit tests defined in project\n\n## Compile-time dependencies\n\n- [junit](https://junit.org/junit5/) as testing framework for tests launching and model\n- [antlr](https://www.antlr.org/) as parser generator framework (with Gradle plugin)\n- [gradle-graal](https://github.com/palantir/gradle-graal) for using GraalVM from Gradle to generate native binaries\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favan1235%2Flatte-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favan1235%2Flatte-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favan1235%2Flatte-compiler/lists"}