Skip to content

hyperpolymath/mylang-playground

Repository files navigation

My-Lang Playground

MPL-2.0 Palimpsest

Playground for the My-Lang Progressive Language Family

My-Lang

Overview

My-Lang is a progressive language family designed to grow with you. Start with fundamentals, build real applications, and optionally add AI capabilities when needed.

The Family

Me → Solo → Duet → Ensemble
│     │      │       │
│     │      │       └── AI-native multi-agent apps (industry/advanced)
│     │      └────────── AI-assisted pair programming (when needed)
│     └───────────────── Systems programming foundation (ages 8+)
└─────────────────────── Fundamental concepts (ages 8-12, beginners)

Which Dialect Should I Use?

Dialect When to Use Repository

Me

Learning to program (ages 8-12), no experience

me-dialect-playground

Solo

Building real applications (ages 8+, after Me)

hives/solo

Duet

Need AI to help write code (industry/final year)

hives/duet

Ensemble

Building multi-agent AI apps (industry/advanced)

hives/ensemble

Tip
Most programmers use Solo for their entire career. Duet and Ensemble are specialized tools for specific AI use cases.

Quick Start

New to Programming?

# Start with Me (standalone repository)
git clone https://github.com/hyperpolymath/me-dialect-playground.git
cd me-dialect-playground
deno task demo

Ready to Build?

# Clone this playground with all hives
git clone --recursive https://github.com/hyperpolymath/mylang-playground.git
cd mylang-playground

# Explore the dialects
cd hives/solo      # Systems programming
cd hives/duet      # AI-assisted
cd hives/ensemble  # Multi-agent

Dialect Details

Me (Fundamental Concepts)

For ages 8-12, no experience required.

Learn programming concepts with friendly, visual syntax. Safe sandboxed execution with immediate feedback.

<say>Hello, world!</say>

<remember name="pet">cat</remember>
<say>My pet is a {pet}!</say>

<choose>
  <when pet-is="cat"><say>Meow!</say></when>
  <when pet-is="dog"><say>Woof!</say></when>
</choose>

Solo (Systems Foundation)

For ages 8+ (after learning Me concepts), through undergrad and beyond.

The core language. Low-level control with safety. Linear types, memory management, WebAssembly.

type Buffer = linear { ptr: *mut u8, len: usize }

fn allocate(size: usize) -> Buffer {
    // Safe memory allocation with linear types
}

fn free(buf: Buffer) -> () {
    // Resource automatically freed, cannot double-free
}

Duet (AI-Assisted)

For final year students / industry professionals who need AI integration.

Human-AI pair programming. The AI helps implement from intent.

intent "optimize for speed":
    @ai_implement

intent "add error handling":
    @ai_suggest

Ensemble (AI-Native)

For industry professionals building multi-agent AI applications.

Orchestrate teams of AI agents with complex workflows.

ensemble Team:
    agents: [Researcher, Editor, Reviewer]
    workflow: research |> edit |> review |> approve
    consensus: majority

Philosophy

  • Progressive Disclosure: Learn what you need when you need it

  • Solo is Complete: Most programmers stay with Solo forever—and that’s fine

  • AI When Needed: Duet and Ensemble are tools, not requirements

  • Smooth Transitions: Code patterns are similar across dialects

See Also

License

SPDX-License-Identifier: PMPL-1.0

About

Playground for My-Lang progressive language family (me → solo → duet → ensemble)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •