{"id":44254324,"url":"https://github.com/paiml/ruchy","last_synced_at":"2026-04-01T19:26:58.935Z","repository":{"id":310062097,"uuid":"1038561780","full_name":"paiml/ruchy","owner":"paiml","description":"Ruchy, a systems-oriented scripting language that transpiles to Rust. ","archived":false,"fork":false,"pushed_at":"2026-02-09T18:41:51.000Z","size":76353,"stargazers_count":56,"open_issues_count":42,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-09T20:29:37.521Z","etag":null,"topics":["data","notebooks","repl","ruchy","rust","science","scripting","wasm"],"latest_commit_sha":null,"homepage":"https://paiml.github.io/ruchy-book/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paiml.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":"CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":"docs/roadmaps/roadmap.yaml","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-15T12:37:36.000Z","updated_at":"2026-02-09T18:42:50.000Z","dependencies_parsed_at":"2025-09-28T05:32:58.101Z","dependency_job_id":"b5647841-d1c0-4777-8c82-92dcf594d480","html_url":"https://github.com/paiml/ruchy","commit_stats":null,"previous_names":["paiml/ruchy"],"tags_count":143,"template":false,"template_full_name":null,"purl":"pkg:github/paiml/ruchy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paiml%2Fruchy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paiml%2Fruchy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paiml%2Fruchy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paiml%2Fruchy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paiml","download_url":"https://codeload.github.com/paiml/ruchy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paiml%2Fruchy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29307234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T16:09:25.305Z","status":"ssl_error","status_checked_at":"2026-02-10T16:08:52.170Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["data","notebooks","repl","ruchy","rust","science","scripting","wasm"],"created_at":"2026-02-10T16:18:03.728Z","updated_at":"2026-04-01T19:26:58.916Z","avatar_url":"https://github.com/paiml.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n[![CI](https://github.com/paiml/ruchy/actions/workflows/ci.yml/badge.svg)](https://github.com/paiml/ruchy/actions/workflows/ci.yml)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\".github/ruchy-hero.svg\" alt=\"ruchy\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eRuchy\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eModern Language for Data Science and Scientific Computing\u003c/b\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/ruchy\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/ruchy.svg\" alt=\"Crates.io\"\u003e\u003c/a\u003e\n[![Documentation](https://docs.rs/ruchy/badge.svg)](https://docs.rs/ruchy)\n  \u003ca href=\"https://github.com/paiml/ruchy\"\u003e\u003cimg src=\"https://img.shields.io/badge/tests-16102%20passing-green.svg\" alt=\"Tests\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c/div\u003e\n\n---\n\nA modern, expressive programming language for data science and scientific computing, featuring a self-hosting compiler, comprehensive tooling, and enterprise-grade quality standards.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Quick Start](#quick-start)\n- [Features](#features)\n- [Language Features](#language-features)\n- [Core Commands](#core-commands)\n- [Safety \u0026 Concurrency](#safety--concurrency)\n- [WebAssembly](#webassembly)\n- [MCP Server](#mcp-server)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- **Self-Hosting Compiler**: Compiles Ruchy source to native binaries via Rust transpilation\n- **Interactive REPL**: Full-featured read-eval-print loop for exploratory programming\n- **Pattern Matching**: Algebraic data types with exhaustive match expressions\n- **Labeled Loops**: Named loop control with break/continue to outer scopes\n- **Async/Await**: First-class async support with tokio runtime\n- **Thread Safety**: All globals are thread-safe by default via `LazyLock\u003cMutex\u003cT\u003e\u003e`\n- **WebAssembly**: Compile to WASM for browser and edge deployment\n- **MCP Server**: Model Context Protocol integration for Claude\n- **16,102 Tests**: Comprehensive test suite with zero clippy warnings\n\n## Installation\n\n```bash\ncargo install ruchy\n```\n\n## Quick Start\n\n```bash\n# Start interactive REPL\nruchy\n\n# Run a script\nruchy script.ruchy\n\n# Evaluate expression\nruchy -e \"println(1 + 2)\"\n\n# Compile to binary\nruchy compile script.ruchy -o myapp\n```\n\n## Language Features\n\n```ruchy\n// Variables and functions\nlet name = \"Ruchy\"\nfun greet(who) {\n    println(f\"Hello, {who}!\")\n}\ngreet(name)\n\n// Pattern matching\nlet value = Some(42)\nmatch value {\n    Some(x) =\u003e println(f\"Got {x}\"),\n    None =\u003e println(\"Nothing\"),\n}\n\n// Labeled loops (v4.0)\n'outer: for i in 0..10 {\n    for j in 0..10 {\n        if i * j \u003e 50 {\n            break 'outer\n        }\n    }\n}\n\n// Collections\nlet numbers = [1, 2, 3, 4, 5]\nlet doubled = numbers.map(|x| x * 2)\nprintln(f\"Doubled: {doubled:?}\")\n```\n\n## Core Commands\n\n| Command | Description |\n|---------|-------------|\n| `ruchy` | Start interactive REPL |\n| `ruchy \u003cfile\u003e` | Run a Ruchy script |\n| `ruchy -e \"\u003ccode\u003e\"` | Evaluate expression |\n| `ruchy compile \u003cfile\u003e` | Compile to binary |\n| `ruchy transpile \u003cfile\u003e` | Transpile to Rust |\n| `ruchy check \u003cfile\u003e` | Syntax check |\n| `ruchy lint \u003cfile\u003e` | Lint code |\n| `ruchy fmt \u003cpath\u003e` | Format code |\n| `ruchy test \u003cpath\u003e` | Run tests |\n\n## Safety \u0026 Concurrency\n\nRuchy generates **100% safe Rust code** with full concurrency support:\n\n- Thread-safe globals via `LazyLock\u003cMutex\u003cT\u003e\u003e`\n- Full async/await support (tokio runtime)\n- Channels, atomics, and all Rust concurrency primitives\n- Zero unsafe code in generated output\n\n```ruchy\n// Thread-safe by default\nlet mut counter = 0\n\nfun increment() {\n    counter = counter + 1  // Thread-safe\n}\n\n// Async functions\nasync fun fetch(url: String) -\u003e String {\n    let response = http::get(url).await?\n    response.text().await\n}\n```\n\n## WebAssembly\n\n```bash\n# Compile to WASM\nruchy wasm compile script.ruchy -o output.wasm\n\n# Run WASM module\nruchy wasm run output.wasm\n```\n\n## MCP Server\n\nRuchy provides a Model Context Protocol server for Claude integration:\n\n```bash\ncargo install ruchy --features mcp\n```\n\nAdd to Claude Desktop config:\n```json\n{\n  \"mcpServers\": {\n    \"ruchy\": {\n      \"command\": \"ruchy\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\n## Quality Standards\n\n- **16,102 tests** passing\n- **Zero clippy warnings**\n- **200-point falsification** validation framework\n- **Toyota Way** quality principles\n- **PMAT A+** code standards\n\n## Documentation\n\n- [Language Specification](docs/SPECIFICATION.md)\n- [Development Roadmap](docs/execution/roadmap.yaml)\n- [Ruchy Book](https://github.com/paiml/ruchy-book) - Comprehensive guide\n- 🤖 [Coursera Hugging Face AI Development Specialization](https://www.coursera.org/specializations/hugging-face-ai-development) - Build Production AI systems with Hugging Face in Pure Rust\n\n## Contributing\n\nContributions are welcome! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) guide for details.\n\n\n## MSRV\n\nMinimum Supported Rust Version: **1.75**\n\n## See Also\n\n- [Cookbook](https://github.com/paiml/ruchy-cookbook)\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\n## Author\n\nNoah Gift - [github.com/paiml/ruchy](https://github.com/paiml/ruchy)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaiml%2Fruchy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaiml%2Fruchy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaiml%2Fruchy/lists"}