Magpie

D 54 completed
Other
monorepo / rust · small
104
Files
69,384
LOC
0
Frameworks
8
Languages

Pipeline State

completed
Run ID
#357038
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
43.00
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #47286
Member of a group with 1 similar repo(s) — canonical #115208 view group →
Top concepts (1)
Library
Repobility · MCP-ready · https://repobility.com

AI Prompt

Create an experimental programming language and compiler toolchain, similar to Magpie. I need it to be written in Rust and function as a monorepo. The compiler should handle deterministic output and explicit ownership/borrowing rules, featuring a CLI entrypoint. Key features to include are a full frontend pipeline (lexer, parser, semantic analysis, type checking), ownership checking, and multiple code generation paths: specifically for LLVM-text, WASM, and various GPU backends like SPIR-V, MSL, PTX, HIP, and WGSL. It should also integrate an MLX host API and include a runtime for GPU dispatch and profiling.
rust compiler programming-language gpu monorepo llvm wasm ownership
Generated by gemma4:latest

Catalog Information

An experimental programming language and compiler toolchain that delivers deterministic, ownership‑aware code with multi‑backend GPU support.

Description

This experimental programming language and compiler toolchain focuses on deterministic source and machine output, explicit ownership and borrowing rules with ARC‑managed heap lifetimes, and strong diagnostics for rapid error resolution. It offers a command‑line interface designed for automation and large‑language‑model agents, enabling fast, repeatable build workflows. The compiler pipeline includes lexer, parser, semantic analysis, type checking, ownership checking, mid‑level IR lowering, monomorphization, and ARC insertion passes. It can generate code for CPU backends (LLVM, WASM) and multiple GPU backends (SPIR‑V, MSL, PTX, HIP, WGSL), with runtime support for dynamic dispatch across Metal, CUDA, HIP, Vulkan, and WebGPU. Additional features include a bfloat16 primitive, MLX host API integration for Apple Silicon acceleration, and a GPU profiling system that exports Chrome trace data and tracks allocations. The toolchain is aimed at systems programmers, language researchers, and GPU developers who need reproducible builds, efficient GPU kernels, and seamless ML integration.

الوصف

تُقدّم هذه اللغة البرمجية التجريبية مع مجموعة أدوات مترجم تُركّز على إنتاج محدد للشفرة المصدرية والآلة، مع قواعد ملكية واضحة وإدارة للذاكرة عبر ARC. تُوفر واجهة سطر أوامر مُصممة لتسهيل الأتمتة وتكامل نماذج اللغة الكبيرة، ما يتيح عمليات بناء سريعة ومتكررة. يتضمن مسار الترجمة محولًا للرمز المصدري إلى تحليل نحوي، تحليل معنوي، وفحص أنواع، مع فحص ملكية وإدراج ARC. يمكن للمنصة توليد شفرة للمعالجات المركزية (LLVM، WASM) ولعدة منصات GPU (SPIR‑V، MSL، PTX، HIP، WGSL)، مع دعم وقت التشغيل للانتقال الديناميكي بين Metal، CUDA، HIP، Vulkan، وWebGPU. كما تتضمن ميزات إضافية مثل نوع بيانات bfloat16، تكامل مع واجهة MLX لتسريع Apple Silicon، ونظام تحليل أداء GPU يصدّر تتبع Chrome ويتتبع التخصيصات. تستهدف هذه الأداة مبرمجو الأنظمة، باحثي لغات البرمجة، ومطوري GPU الذين يحتاجون لبناء متكرر، نوى GPU فعّالة، وتكامل سلس مع تقنيات التعلم الآلي.

Novelty

8/10

Tags

experimental-programming-language deterministic-compilation ownership-and-borrowing gpu-code-generation strong-diagnostics automation‑friendly-cli multi‑backend-support ml-acceleration-integration

Technologies

serde

Claude Models

claude-opus-4.6

Quality Score

D
53.9/100
Structure
62
Code Quality
26
Documentation
47
Testing
75
Practices
62
Security
75
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (34% test-to-source ratio)
  • Consistent naming conventions (snake_case)
  • Properly licensed project

Weaknesses

  • 5 files with critical complexity need refactoring
  • 19968 duplicate lines detected \u2014 consider DRY refactoring
  • 27 'god files' with >500 LOC need decomposition

Recommendations

  • Add a linter configuration to enforce code style consistency

Security & Health

21.3h
Tech Debt (A)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (1)
Source: Repobility analyzer · https://repobility.com
MIT
License
14.8%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

rust
83.4%
markdown
15.2%
toml
0.5%
c
0.4%
shell
0.2%
typescript
0.1%
python
0.1%
yaml
0.1%

Frameworks

None detected

Concepts (1)

Source: Repobility analyzer (https://repobility.com)
CategoryNameDescriptionConfidence
Repobility · MCP-ready · https://repobility.com
auto_categoryLibrarylibrary60%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/81170.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV