{"id":15399278,"url":"https://github.com/raviqqe/fmm","last_synced_at":"2025-04-15T22:30:53.879Z","repository":{"id":37026355,"uuid":"326868485","full_name":"raviqqe/fmm","owner":"raviqqe","description":"The uncurried minimal functional programming language for CPS transformation","archived":false,"fork":false,"pushed_at":"2024-02-23T12:14:28.000Z","size":1109,"stargazers_count":18,"open_issues_count":9,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T03:41:32.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raviqqe.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":"2021-01-05T02:52:19.000Z","updated_at":"2025-01-05T17:38:14.000Z","dependencies_parsed_at":"2024-01-18T23:10:01.101Z","dependency_job_id":"8af20f60-f993-4f69-9cd9-5f78fc0eed29","html_url":"https://github.com/raviqqe/fmm","commit_stats":{"total_commits":398,"total_committers":2,"mean_commits":199.0,"dds":"0.31909547738693467","last_synced_commit":"affb0bb7681ad14dd39dc04f0704eafffb256a36"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviqqe%2Ffmm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviqqe%2Ffmm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviqqe%2Ffmm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviqqe%2Ffmm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raviqqe","download_url":"https://codeload.github.com/raviqqe/fmm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249165884,"owners_count":21223343,"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":[],"created_at":"2024-10-01T15:47:58.379Z","updated_at":"2025-04-15T22:30:53.019Z","avatar_url":"https://github.com/raviqqe.png","language":"Rust","funding_links":[],"categories":["Other"],"sub_categories":[],"readme":"# F--\n\n[![GitHub Action](https://img.shields.io/github/actions/workflow/status/raviqqe/fmm/test.yaml?branch=main\u0026style=flat-square)](https://github.com/raviqqe/fmm/actions)\n[![License](https://img.shields.io/github/license/raviqqe/fmm.svg?style=flat-square)](LICENSE)\n\nThe uncurried minimal functional programming language\n\nIt's designed to be a compiler target for high-level functional programming languages.\n\n## Features\n\n- [SSA](https://en.wikipedia.org/wiki/Static_single_assignment_form)\n- Minimal\n  - Only 4 control instructions\n    - `branch`\n    - `call`\n    - `if`\n    - `return`\n  - No backward jump\n- Portable\n  - Pointer-sized integer\n  - C-like union type\n  - Boolean type\n- Structural typing\n- CPS transformation\n- IR builder library\n\n### Backends\n\n- [LLVM](fmm-llvm)\n- [C](fmm-c)\n  - No guarantee for tail call optimization\n\n## Limitations\n\n- Inductive types\n- Weak typing\n- No type inference\n\n### Calling convention compatibility table\n\n| Caller \\ Callee | Target (C) | Tail | Source (CPS) |\n| --------------- | ---------- | ---- | ------------ |\n| Target (C)      | x          | x    | \\*1          |\n| Tail            | x          | x    | \\*1          |\n| Source (CPS)    | x          | x    | x            |\n\n- \\*1: Suspension in functions is not supported.\n\n## Design notes\n\n- Expressions have no side effect.\n  - You can use them in constants.\n- Instructions _can_ have side effects.\n\n## License\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraviqqe%2Ffmm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraviqqe%2Ffmm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraviqqe%2Ffmm/lists"}