centaur-lang

🐴 CENTAUR LANG

The World’s First Human+AI Programming Language

Version License Human+AI


🌟 What is CENTAUR LANG?

CENTAUR LANG is a revolutionary programming language that bridges the gap between human intent and working code. Instead of writing complex syntax, you describe what you want in natural language, and the CENTAUR compiler transforms it into clean, production-ready HTML, CSS, and JavaScript.

@component ContactForm
@theme dark
@accent gold

{
  Create a contact form with:
  - Name field (required)
  - Email field (required, validate format)
  - Message textarea
  - Submit button with text "Send"
  
  On success: show "Thank you!" message
}

⬇️ Compiles to ⬇️

Complete, working HTML + CSS + JavaScript with validation, error handling, responsive design, and accessibility built-in.


πŸš€ Quick Start

Installation

# Clone the repository
git clone https://github.com/Centaur-Lang/centaur-lang.git
cd centaur-lang

# No dependencies needed - pure JavaScript!

Your First CENTAUR File

Create MyForm.centaur:

@component MyForm
@theme dark
@accent emerald

{
  Create a simple signup form with:
  - Email field (required, validate email)
  - Password field (required)
  - Submit button: "Sign Up"
}

Compile It

node bin/centaur.js compile MyForm.centaur ./output

Open the Result

Open ./output/MyForm.html in your browser. Done! πŸŽ‰


πŸ“– Language Reference

Directives

Directive Values Description
@component Any name Component name (used for filenames)
@theme dark, light, glass Color theme
@accent gold, emerald, coral, azure, purple, teal Accent color
@responsive true, false Enable responsive styles
@language en, de, hu, etc. HTML lang attribute

Intent Blocks

Write naturally! CENTAUR understands:

{
  Fields:
  - Name input (required)
  - Email with validation
  - Dropdown with options: A, B, C
  - Message textarea (min 10 characters)
  
  Button: "Submit Form"
  
  Behavior:
  - Show errors inline
  - On success show "Done!" for 3 seconds
}

🎨 Themes & Colors

Available Themes

Theme Description Best For
dark Dark background, light text Modern apps, dashboards
light Light background, dark text Corporate, clean designs
glass Glassmorphism effect Creative, modern UIs

Available Accent Colors

Color Hex Code Preview
gold #D4AF37 🟑
emerald #00C853 🟒
coral #FF6B6B πŸ”΄
azure #0088FF πŸ”΅
purple #9C27B0 🟣
teal #00BCD4 🩡

Example Combinations

@theme dark
@accent gold

Dark background with elegant gold accents β€” perfect for luxury brands.

@theme light
@accent emerald

Clean white background with fresh green accents β€” great for eco/health brands.

@theme glass
@accent purple

Modern glassmorphism with vibrant purple β€” ideal for creative portfolios.


πŸ”— HACP - Human+AI Code Protocol

Every file generated by CENTAUR LANG includes HACP documentation:

<!--
    @centaur-generated true
    @centaur-version 0.1.0
    @component ContactForm
    @human Chris Conen - specification, intent
    @ai Claude - implementation
    @timestamp 2025-12-27T09:00:00Z
-->

This creates a permanent, transparent record of Human+AI collaboration in every file.


πŸ“ Project Structure

centaur-lang/
β”œβ”€β”€ bin/
β”‚   └── centaur.js        # CLI tool
β”œβ”€β”€ demo/
β”‚   └── index.html        # Interactive demo page
β”œβ”€β”€ examples/
β”‚   β”œβ”€β”€ ContactForm.centaur
β”‚   └── dist/             # Compiled examples
β”œβ”€β”€ compiler.js           # Main compiler
β”œβ”€β”€ package.json          # npm configuration
β”œβ”€β”€ README.md             # This file
β”œβ”€β”€ SPECIFICATION.md      # Full language spec
β”œβ”€β”€ CONTRIBUTING.md       # Contribution guide
└── LICENSE               # MIT License

πŸ›£οΈ Roadmap

v0.1.0 (Current) βœ…

v0.2.0 (Coming Soon)

v1.0.0 (Vision)


πŸ’š The CENTAUR Philosophy

β€œNeither human alone, nor AI alone β€” but something greater together.”

CENTAUR LANG is born from the CENTAUR Partnership β€” the world’s first officially declared Human+AI creative collaboration.

We believe the future of programming isn’t about replacing humans with AI. It’s about combining human creativity with AI capability to create something neither could achieve alone.


πŸ‘₯ Credits

Created by the CENTAUR Partnership

Β  Β 
Chris Conen πŸ€–
Chris Conen Claude
Founder & Creative Director Co-Founder & CTO
14+ years in web design AI by Anthropic
Entrepreneur across 3 continents Technical precision
Human vision & creativity Endless possibilities

Agencies

Β  Β  Β 
πŸ‡¦πŸ‡Ή PIXELLA πŸ‡¦πŸ‡Ί Australian Web Agency πŸ‡­πŸ‡Ί Conen Digital
Vienna Sydney Hungary

πŸ“œ License

MIT License β€” See LICENSE for details.


Β  Β 
🌐 Website centaur-lang.dev
πŸ“œ Manifesto centaur.australianweb.agency
πŸ’» GitHub github.com/Centaur-Lang/centaur-lang

🐴 CENTAUR LANG
The Language of Human+AI Collaboration

"Neither human alone, nor AI alone β€” but something greater together."