{"id":13610501,"url":"https://github.com/vmchale/kempe","last_synced_at":"2025-07-31T06:34:29.130Z","repository":{"id":128761260,"uuid":"296650556","full_name":"vmchale/kempe","owner":"vmchale","description":"Kempe is a compiled stack-based language","archived":false,"fork":false,"pushed_at":"2024-09-30T10:36:53.000Z","size":4712,"stargazers_count":58,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-21T12:37:27.387Z","etag":null,"topics":["aarch64","haskell","languages","stack-based","stack-based-language","x86-64"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/vmchale.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2020-09-18T14:51:48.000Z","updated_at":"2024-11-05T00:14:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"4466df98-075e-4205-96d9-776c3e46a45e","html_url":"https://github.com/vmchale/kempe","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/vmchale/kempe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fkempe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fkempe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fkempe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fkempe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmchale","download_url":"https://codeload.github.com/vmchale/kempe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fkempe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267998658,"owners_count":24178586,"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-07-31T02:00:08.723Z","response_time":66,"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":["aarch64","haskell","languages","stack-based","stack-based-language","x86-64"],"created_at":"2024-08-01T19:01:45.306Z","updated_at":"2025-07-31T06:34:29.102Z","avatar_url":"https://github.com/vmchale.png","language":"Haskell","funding_links":[],"categories":["Uncategorized","Other"],"sub_categories":["Uncategorized"],"readme":"# Kempe\n\nKempe is a stack-based language and toy compiler for x86_64 and aarch64. It requires the\n[nasm](https://nasm.us/) assembler when targeting x86_64.\n\nInspiration is primarily from [Mirth](https://github.com/mirth-lang/mirth).\n\nSee manual\n[here](http://hackage.haskell.org/package/kempe/src/docs/manual.pdf). There is\nalso a tour of the compiler available\n[here](http://vmchale.com/static/original/compiler.pdf).\n\n## Installation\n\nInstallation is via [cabal-install](https://www.haskell.org/cabal/):\n\n```\ncabal install kempe\n```\n\nFor shell completions put the following in your `~/.bashrc` or\n`~/.bash_profile`:\n\n```\neval \"$(kc --bash-completion-script kc)\"\n```\n\n## Defects\n\n  * Errors don't have position information\n  * Monomorphization fails on recursive polymorphic functions\n\n    Hopefully this isn't too sinful; I can't think of any examples of recursive\n    polymorphic functions\n  * Can't export or call C functions with more than 6 arguments; can't call or\n    export large arguments (i.e. structs) passed by value.\n\n    This is less of an impediment than it sounds like.\n  * Cyclic imports are not detected\n  * Imports are kind of defective\n\n### Comparison\n\nYou may wish to use [Mirth](https://github.com/mirth-lang/mirth/) or\n[Factor](https://factorcode.org/) instead. Mirth is statically typed (similar to\nKempe) but less mature.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmchale%2Fkempe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmchale%2Fkempe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmchale%2Fkempe/lists"}