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.
# Clone the repository
git clone https://github.com/Centaur-Lang/centaur-lang.git
cd centaur-lang
# No dependencies needed - pure JavaScript!
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"
}
node bin/centaur.js compile MyForm.centaur ./output
Open ./output/MyForm.html in your browser. Done! π
| 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 |
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
}
| 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 |
| Color | Hex Code | Preview |
|---|---|---|
gold |
#D4AF37 |
π‘ |
emerald |
#00C853 |
π’ |
coral |
#FF6B6B |
π΄ |
azure |
#0088FF |
π΅ |
purple |
#9C27B0 |
π£ |
teal |
#00BCD4 |
π©΅ |
@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.
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.
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
β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.
| Β | Β |
|---|---|
![]() |
π€ |
| 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 |
| Β | Β | Β |
|---|---|---|
| π¦πΉ PIXELLA | π¦πΊ Australian Web Agency | ππΊ Conen Digital |
| Vienna | Sydney | Hungary |
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."