{"id":13608583,"url":"https://github.com/CakeML/cakeml","last_synced_at":"2025-04-12T17:32:15.547Z","repository":{"id":4980835,"uuid":"6138801","full_name":"CakeML/cakeml","owner":"CakeML","description":"CakeML: A Verified Implementation of ML","archived":false,"fork":false,"pushed_at":"2025-04-09T14:59:40.000Z","size":122782,"stargazers_count":1016,"open_issues_count":187,"forks_count":87,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-04-09T15:49:58.403Z","etag":null,"topics":["compiler","formal-semantics","formal-verification","hol","programming-language","sml","theorem-proving"],"latest_commit_sha":null,"homepage":"https://cakeml.org","language":"Standard ML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CakeML.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2012-10-09T10:13:51.000Z","updated_at":"2025-04-09T07:17:27.000Z","dependencies_parsed_at":"2023-10-16T02:31:43.054Z","dependency_job_id":"e3ccb2ba-ce1e-4bb5-b092-d8d43baf876c","html_url":"https://github.com/CakeML/cakeml","commit_stats":{"total_commits":20082,"total_committers":97,"mean_commits":"207.03092783505156","dds":0.7909072801513793,"last_synced_commit":"c9a39b5fce675a57155fe86f1de7362fc51172a3"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CakeML%2Fcakeml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CakeML%2Fcakeml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CakeML%2Fcakeml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CakeML%2Fcakeml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CakeML","download_url":"https://codeload.github.com/CakeML/cakeml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248605215,"owners_count":21132129,"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":["compiler","formal-semantics","formal-verification","hol","programming-language","sml","theorem-proving"],"created_at":"2024-08-01T19:01:28.426Z","updated_at":"2025-04-12T17:32:10.530Z","avatar_url":"https://github.com/CakeML.png","language":"Standard ML","funding_links":[],"categories":["Uncategorized","Standard ML","Runtimes and VMs"],"sub_categories":["Uncategorized","Educational and Toy Projects"],"readme":"The CakeML project: https://cakeml.org\n======================================\n\nCakeML is a verified implementation of a significant subset of\nStandard ML.\n\nThe source and proofs for CakeML are developed in the [HOL4 theorem\nprover](http://hol-theorem-prover.org). We use the latest development\nversion of [HOL4](https://github.com/HOL-Theorem-Prover/HOL), which we\nbuild on [PolyML 5.7.1](http://www.polyml.org).\nExample build instructions can be found in\n[build-instructions.sh](build-instructions.sh).\n\nBuilding all of CakeML (including the bootstrapped compiler and its proofs)\nrequires significant resources. [Built copies](https://cakeml.org/download) of\nthe compiler and resource usage for our\n[regression tests](https://cakeml.org/regression.cgi) are online.\n\nThe [master](../../tree/master) branch contains the latest development\nversion of CakeML. See the [version2](../../tree/version2) or\n[version1](../../tree/version1) branch for previous versions.\n\nDirectory structure\n-------------------\n\n[COPYING](COPYING):\nCakeML Copyright Notice, License, and Disclaimer.\n\n[basis](basis):\nContains the beginnings of a standard basis library for CakeML,\nsimilar to the standard basis library of SML.\n\n[build-instructions.sh](build-instructions.sh):\nThis file describes how to install Poly/ML, HOL and CakeML.\n\n[candle](candle):\nVerification of a HOL theorem prover, based on HOL Light\n(http://www.cl.cam.ac.uk/~jrh13/hol-light/), implemented in CakeML.\n\n[characteristic](characteristic):\nA verified CakeML adaption of Arthur Charguéraud's \"Characteristic\nFormulae for the Verification of Imperative Programs\"\n\n[compiler](compiler):\nA verified compiler for CakeML, including:\n - lexing and PEG parsing,\n - type inference,\n - compilation to ASM assembly language, and,\n - code generation to x86, ARM, and more.\n\n[cv_translator](cv_translator):\nTranslator to cv type used by cv_compute\n\n[developers](developers):\nThis directory contains scripts for automating routine tasks, e.g., for\ngenerating README.md files.\n\n[examples](examples):\nExamples of verified programs built using CakeML infrastructure.\n\n[how-to.md](how-to.md):\nThis document introduces how to use the CakeML compiler, providing in\nparticular:\n\n- a description of how to invoke the CakeML compiler,\n- a list of how CakeML differs from SML and OCaml, and,\n- a number of small CakeML code examples.\n\n[icing](icing):\nMain implementation directory for the RealCake development, presented in\n\"Verified Compilation and Optimization of Floating-Point Programs\"\n\n[misc](misc):\nAuxiliary files providing glue between a standard HOL installation\nand what we want to use for CakeML development.\n\n[pancake](pancake):\nThe Pancake compiler, i.e. a C-like compiler built from the lower\nparts of the CakeML compiler.\n\n[semantics](semantics):\nThe definition of the CakeML language.\nThe directory includes definitions of:\n - the concrete syntax,\n - the abstract syntax,\n - big step semantics (both functional and relational),\n - a small step semantics,\n - the semantics of FFI calls, and,\n - the type system.\n\n[translator](translator):\nA proof-producing translator from HOL functions to CakeML.\n\n[tutorial](tutorial):\nAn extended worked example on using HOL and CakeML to write verified programs,\nthat was presented as a tutorial on CakeML at PLDI and ICFP in 2017.\n\n[unverified](unverified):\nVarious unverified tools, e.g. tools for converting OCaml to CakeML\nand an SML version of the CakeML register allocator.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCakeML%2Fcakeml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCakeML%2Fcakeml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCakeML%2Fcakeml/lists"}