{"id":14966278,"url":"https://github.com/jbakouny/scallina","last_synced_at":"2025-10-25T16:30:50.788Z","repository":{"id":77632495,"uuid":"97848811","full_name":"JBakouny/Scallina","owner":"JBakouny","description":"A Coq-based synthesis of Scala programs which are correct-by-construction","archived":false,"fork":false,"pushed_at":"2022-05-25T08:13:14.000Z","size":18475,"stargazers_count":79,"open_issues_count":1,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-31T07:51:29.554Z","etag":null,"topics":["coq","formal-methods","functional-programming","scala","synthesis"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JBakouny.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":"2017-07-20T15:04:31.000Z","updated_at":"2024-02-11T19:53:54.000Z","dependencies_parsed_at":"2023-06-01T04:30:08.891Z","dependency_job_id":null,"html_url":"https://github.com/JBakouny/Scallina","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBakouny%2FScallina","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBakouny%2FScallina/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBakouny%2FScallina/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBakouny%2FScallina/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JBakouny","download_url":"https://codeload.github.com/JBakouny/Scallina/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238174132,"owners_count":19428630,"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":["coq","formal-methods","functional-programming","scala","synthesis"],"created_at":"2024-09-24T13:36:08.829Z","updated_at":"2025-10-25T16:30:49.593Z","avatar_url":"https://github.com/JBakouny.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n### What is Scallina ?\n- **Foundations:** *[The Scallina Grammar](https://link.springer.com/chapter/10.1007/978-3-030-03044-5_7)*\n- **Demonstration:** *[Scallina: Translating Verified Programs from Coq to Scala](https://link.springer.com/chapter/10.1007/978-3-030-02768-1_7)*\n- **Video demo:** [available on YouTube](https://youtu.be/-UM-kcYf7jQ).\n\n### Quick start guide\n\nFirst, download the Scala Build Tool (SBT) from http://www.scala-sbt.org/download.html\n\nThen, in the project's main directory run the command ```sbt assembly```\n\nFinally, the below command:\n\n```scala target/scala-2.12/scallina-assembly-\u003cscallina-version\u003e.jar \u003cpath-to-coq-source-file.v\u003e```\n\ncan be executed from the project's main directory in order to run Scallina.\n\nAlso, the below command should also work:\n\n```java -jar target/scala-2.12/scallina-assembly-\u003cscallina-version\u003e.jar \u003cpath-to-coq-source-file.v\u003e```\n\n### Usage Examples\n\nPackaged examples are available under [```packaged-examples```](./packaged-examples)\n\nAdditional examples of Coq ```.v``` files that can be translated to Scala are available under [```src/test/resources/```](./src/test/resources/)\n\n### Compiling the Generated Scala Files\nThe generated files can be compiled with the ```scalac``` Scala compiler provided that the [Scallina Standard Library](https://github.com/JBakouny/Scallina/releases/download/v0.7.0/scallina-standard-library-assembly-0.7.jar) is included in the classpath.\n\nFor a practical example, see the ```compile-scala-code.sh``` script in [```packaged-examples/v0.7.0/SelectionSort```](./packaged-examples/v0.7.0/SelectionSort).\n\nThe source code of the Scallina Standard Library is available under [```src/main/resources/scala/of/coq/lang```](./src/main/resources/scala/of/coq/lang/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbakouny%2Fscallina","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbakouny%2Fscallina","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbakouny%2Fscallina/lists"}