{"id":13787727,"url":"https://github.com/calypso-lang/calypso","last_synced_at":"2025-05-12T01:31:38.598Z","repository":{"id":37019556,"uuid":"286652675","full_name":"calypso-lang/calypso","owner":"calypso-lang","description":"Calypso is a mostly imperative language with some functional influences that is focused on flexibility and simplicity.","archived":false,"fork":false,"pushed_at":"2024-05-16T17:16:22.000Z","size":1466,"stargazers_count":67,"open_issues_count":11,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T23:48:54.369Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://calypso-lang.github.io/","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/calypso-lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-11T05:20:22.000Z","updated_at":"2025-03-05T15:56:01.000Z","dependencies_parsed_at":"2024-01-18T21:40:52.817Z","dependency_job_id":"aa294929-c46e-4b8b-b4d4-530bad6385c5","html_url":"https://github.com/calypso-lang/calypso","commit_stats":{"total_commits":509,"total_committers":5,"mean_commits":101.8,"dds":0.3595284872298625,"last_synced_commit":"245c1a1ec68298caefcf9ceee1bc8ad4d72489d3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calypso-lang%2Fcalypso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calypso-lang%2Fcalypso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calypso-lang%2Fcalypso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calypso-lang%2Fcalypso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calypso-lang","download_url":"https://codeload.github.com/calypso-lang/calypso/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253659390,"owners_count":21943629,"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-08-03T21:00:29.110Z","updated_at":"2025-05-12T01:31:38.009Z","avatar_url":"https://github.com/calypso-lang.png","language":"Rust","funding_links":[],"categories":["Functional"],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/calypso-lang/assets/main/logo/logo.png\" alt=\"Calypso logo\" width=\"250\" align=\"right\"/\u003e\n\n# Calypso\n\n[![CI Status][b3]][l3] [![License][b4]][l4] [![Discord](https://img.shields.io/discord/822290196057948171?style=flat-square\u0026color=blue)](https://discord.gg/26X6ChQQcG) ![Lines of Code][b2] \u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\nCalypso is a mostly imperative language with some functional influences that is focused on flexibility and simplicity.\n\nNote that this code is very work-in-progress. Contributions are welcome (and encouraged!), but it's not recommended to use this in production unless you're ready for some serious pain. Or code that just doesn't work.\n\n## Example\n\nThe following example is an implementation of [FizzBuzz](https://en.wikipedia.org/wiki/Fizz_buzz) that goes until a number specified in the CLI arguments of the program, or 100 if that is not present. Note that this is currently psuedocode and may change.\n\n\n```zig\nimport standard.process.Args\n\nfn main(args: Args) -\u003e\n    args\n    |\u003e _.get(0)\n    |\u003e _.unwrap_or(\"100\")\n    |\u003e uint.from_string\n    |\u003e _.unwrap_or(100)\n    |\u003e fizzbuzz\n    |\u003e _.each(\u0026println(\"{}\", \u00261))\n\nfn fizzbuzz(max: uint): [string] -\u003e\n  1.to_incl(max).map(fn n -\u003e\n    case do\n      15.divides(n) -\u003e \"FizzBuzz\",\n      3.divides(n)  -\u003e \"Fizz\",\n      5.divides(n)  -\u003e \"Buzz\",\n      _             -\u003e n.to_string\n    end)\n```\n\n## Compatibility\n\nThe MSRV (Minimum Supported Rust Version) is currently Rust 1.66.1.\n\nCalypso is automatically tested on:\n- x86_64 linux, Rust 1.66.1\n- x86_64 linux, latest stable\n- x86_64 linux, latest nightly\n\nas well as manually tested on x86_64 linux with the latest stable build of Rust\n\nCalypso is developed and tested on these platforms:\n- Arch Linux, latest stable\n- I'd hope there's more in the future...but I don't currently have the infra to test those :(\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n## [crates.io][crates.io] statuses\n\nI'm currently holding various crates related to Calypso. These will actually be used but they are being held so that no one uses them for malicious purposes or confuses anyone.\n\n\u003e Note: A version number of `0.0.0` indicates an unreleased crate.\n\n| Crate Name             | Version                                | [docs.rs][docs.rs] Status                  |\n|:----------------------:|:--------------------------------------:|:------------------------------------------:|\n| `calypso`              | [![calypso][bcio1]][lcio1]             | [![calypso][bdrs1]][ldrs1]                 |\n| `calypso_base`         | [![calypso_base][bcio2]][lcio2]        | [![calypso_base][bdrs2]][ldrs2]            |\n| `calypso_error`        | [![calypso_error][bcio9]][lcio9]       | [![calypso_error][bdrs9]][ldrs9]           |\n| `calypso_diagnostic`   | [![calypso_diagnostic][bcio3]][lcio3]  | [![calypso_diagnostic][bdrs3]][ldrs3]      |\n| `calypso_filety`       | [![calypso_filety][bcio7]][lcio7]      | [![calypso_filety][bdrs7]][ldrs7]          |\n| `calypso_opt`          | [![calypso_opt][bcio8]][lcio8]         | [![calypso_opt][bdrs8]][ldrs8]             |\n| `calypso_parsing`      | [![calypso_parsing][bcio4]][lcio4]     | [![calypso_parsing][bdrs4]][ldrs4]         |\n| `calypso_repl`         | [![calypso_repl][bcio5]][lcio5]        | [![calypso_repl][bdrs5]][ldrs5]            |\n| `calypso_util`         | [![calypso_util][bcio6]][lcio6]        | [![calypso_util][bdrs6]][ldrs6]            |\n\nFor the status of SaturnVM crates, see [its README](libs/saturnvm/README.md).\n\n[bcio1]: https://img.shields.io/crates/v/calypso\n[lcio1]: https://crates.io/crates/calypso\n[bdrs1]: https://docs.rs/calypso/badge.svg\n[ldrs1]: https://docs.rs/calypso/*\n\n[bcio2]: https://img.shields.io/crates/v/calypso_base\n[lcio2]: https://crates.io/crates/calypso_base\n[bdrs2]: https://docs.rs/calypso_base/badge.svg\n[ldrs2]: https://docs.rs/calypso_base/*\n\n[bcio3]: https://img.shields.io/crates/v/calypso_diagnostic\n[lcio3]: https://crates.io/crates/calypso_diagnostic\n[bdrs3]: https://docs.rs/calypso_diagnostic/badge.svg\n[ldrs3]: https://docs.rs/calypso_diagnostic/*\n\n[bcio4]: https://img.shields.io/crates/v/calypso_parsing\n[lcio4]: https://crates.io/crates/calypso_parsing\n[bdrs4]: https://docs.rs/calypso_parsing/badge.svg\n[ldrs4]: https://docs.rs/calypso_parsing/*\n\n[bcio5]: https://img.shields.io/crates/v/calypso_repl\n[lcio5]: https://crates.io/crates/calypso_repl\n[bdrs5]: https://docs.rs/calypso_repl/badge.svg\n[ldrs5]: https://docs.rs/calypso_repl/*calypso_util\n\n[bcio6]: https://img.shields.io/crates/v/calypso_util\n[lcio6]: https://crates.io/crates/calypso_util\n[bdrs6]: https://docs.rs/calypso_util/badge.svg\n[ldrs6]: https://docs.rs/calypso_util/*\n\n[bcio7]: https://img.shields.io/crates/v/calypso_filety\n[lcio7]: https://crates.io/crates/calypso_filety\n[bdrs7]: https://docs.rs/calypso_filety/badge.svg\n[ldrs7]: https://docs.rs/calypso_filety/*\n\n[bcio8]: https://img.shields.io/crates/v/calypso_opt\n[lcio8]: https://crates.io/crates/calypso_opt\n[bdrs8]: https://docs.rs/calypso_opt/badge.svg\n[ldrs8]: https://docs.rs/calypso_opt/*\n\n[bcio9]: https://img.shields.io/crates/v/calypso_error\n[lcio9]: https://crates.io/crates/calypso_error\n[bdrs9]: https://docs.rs/calypso_error/badge.svg\n[ldrs9]: https://docs.rs/calypso_error/*\n\nDocs for the `main` branch can be found [here](https://calypso-lang.github.io/rustdoc/calypso/index.html).\n\n## SaturnVM\n\nSaturnVM is the VM I'm writing for Calypso. It's meant to be mostly standalone but at the moment there may be some connections or dependencies between it and Calypso. SaturnVM's top-level crate can be found in `libs/saturnvm` and some of its subcrates will be found in `libs/` under the name `saturnvm_*`. The `calypso_vm` crate will probably be a Calypso-specific interface to SaturnVM.\n\nFor more information, see [its README](libs/saturnvm/README.md).\n\n## Logo Credits\n\nThe logo was modified from an image by [Freepik](https://www.freepik.com) on [Flaticon](https://www.flaticon.com). The original image can be found [here](https://www.flaticon.com/free-icon/saturn_124559) or in [`logo-base.svg`](https://raw.githubusercontent.com/calypso-lang/assets/main/logo/logo-base.svg) in the [assets](https://github.com/calypso-lang/assets) repository.\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/HTG-YT\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/39023054?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eHTG-YT\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/calypso-lang/calypso/commits?author=HTG-YT\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"#tutorial-HTG-YT\" title=\"Tutorials\"\u003e✅\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://www.mbiz.co.id/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/17718201?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eReza\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/calypso-lang/calypso/issues?q=author%3Atbmreza\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/calypso-lang/calypso/commits?author=tbmreza\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"#maintenance-tbmreza\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n[b2]: https://img.shields.io/tokei/lines/github/calypso-lang/calypso?style=flat-square\n\n[b3]: https://img.shields.io/github/workflow/status/calypso-lang/calypso/CI?style=flat-square\n[l3]: https://github.com/calypso-lang/calypso/actions\n\n[b4]: https://img.shields.io/badge/license-MIT%2FApache--2.0-blue?style=flat-square\n[l4]: ./LICENSE\n\n[crates.io]: https://crates.io/\n[docs.rs]: https://docs.rs/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalypso-lang%2Fcalypso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalypso-lang%2Fcalypso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalypso-lang%2Fcalypso/lists"}