AeThex-OS/aethex-docs/INDEX.md
MrPiglr a15b5b1015 feat: integrate AeThex Language across entire OS ecosystem
Major Features:
- Custom .aethex programming language with cross-platform compilation
- Compiles to JavaScript, Lua (Roblox), Verse (UEFN), and C# (Unity)
- Built-in COPPA compliance and PII detection for safe metaverse development

Integration Points:
1. Terminal Integration
   - Added 'aethex' command for in-terminal compilation
   - Support for all compilation targets with --target flag
   - Real-time error reporting and syntax highlighting

2. IDE Integration
   - Native .aethex file support in Monaco editor
   - One-click compilation with target selector
   - Download compiled code functionality
   - Two example files: hello.aethex and auth.aethex

3. Curriculum Integration
   - New "AeThex Language" section in Foundry tech tree
   - Three modules: Realities & Journeys, Cross-Platform Sync, COPPA Compliance
   - Certification path for students

4. Documentation Site
   - Complete docs at /docs route (client/src/pages/aethex-docs.tsx)
   - Searchable documentation with sidebar navigation
   - Language guide, standard library reference, and examples
   - Ready for deployment to aethex.dev

5. npm Package Publishing
   - @aethex.os/core@1.0.0 - Standard library (published)
   - @aethex.os/cli@1.0.1 - Command line compiler (published)
   - Both packages live on npm and globally installable

Domain Configuration:
- DNS setup for 29+ domains (aethex.app, aethex.co, etc.)
- nginx reverse proxy configuration
- CORS configuration for cross-domain requests
- OAuth redirect fixes for hash-based routing

Standard Library Features:
- Passport: Universal identity across platforms
- DataSync: Cross-platform data synchronization
- SafeInput: PII detection (phone, email, SSN, credit cards)
- Compliance: COPPA/FERPA age gates and audit logging

Documentation Package:
- Created aethex-dev-docs.zip with complete documentation
- Ready for static site deployment
- Includes examples, API reference, and quickstart guide

Technical Improvements:
- Fixed OAuth blank page issue (hash routing)
- Added .gitignore rules for temp files
- Cleaned up build artifacts and temporary files
- Updated all package references to @aethex.os namespace

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-11 22:28:05 -07:00

170 lines
4.1 KiB
Markdown

# AeThex Language Documentation
## aethex.dev
Welcome to the official documentation for the AeThex Programming Language.
**Write once. Build everywhere. Comply by default.**
---
## 📚 Documentation Structure
### Getting Started
- [README.md](README.md) - Complete language overview and features
- [QUICKSTART.md](QUICKSTART.md) - Get up and running in 5 minutes
- [INTEGRATION_SUMMARY.md](INTEGRATION_SUMMARY.md) - OS integration details
### Package Documentation
- [packages/core/README.md](packages/core/README.md) - @aethex.os/core standard library
- [packages/cli/README.md](packages/cli/README.md) - @aethex.os/cli command line interface
### Developer Resources
- [BUILD_SUMMARY.md](BUILD_SUMMARY.md) - Complete build and architecture summary
- [NPM_PUBLISHING_GUIDE.md](NPM_PUBLISHING_GUIDE.md) - Publishing to npm
### Example Code
- [examples/](examples/) - Sample .aethex files
---
## 🚀 Quick Links
### Installation
```bash
npm install -g @aethex.os/cli
```
### npm Packages
- [@aethex.os/cli](https://www.npmjs.com/package/@aethex.os/cli) - Command line compiler
- [@aethex.os/core](https://www.npmjs.com/package/@aethex.os/core) - Standard library
### Community
- **GitHub**: https://github.com/AeThex-Corporation/AeThexOS
- **Issues**: https://github.com/AeThex-Corporation/AeThexOS/issues
- **Website**: https://aethex.app
---
## 📖 Documentation Sections
### 1. Language Guide
Learn the AeThex syntax, from realities and journeys to cross-platform sync.
**Topics covered:**
- Realities (Namespaces)
- Journeys (Functions)
- Cross-Platform Sync
- Conditional Logic
- Platform-Specific Code
### 2. Standard Library
Complete reference for @aethex.os/core utilities.
**Modules:**
- **Passport** - Universal identity across platforms
- **DataSync** - Cross-platform data synchronization
- **SafeInput** - PII detection and scrubbing (CRITICAL for CODEX)
- **Compliance** - COPPA/FERPA compliance checks
### 3. CLI Reference
Command line interface documentation.
**Commands:**
- `aethex compile` - Compile .aethex files
- `aethex new` - Create new project
- `aethex init` - Initialize in current directory
**Targets:**
- JavaScript (Web, Node.js)
- Roblox (Lua)
- UEFN (Verse) - Coming Soon
- Unity (C#) - Coming Soon
### 4. Examples
Real-world code examples and patterns.
**Available Examples:**
- Hello World
- Cross-Platform Authentication
- Secure Leaderboard (Foundry Exam)
- COPPA-Compliant User Registration
---
## 🎓 The Foundry Certification
AeThex is the official language taught at **The AeThex Foundry** certification program.
**Certification Path:**
1. Install AeThex CLI
2. Complete language modules
3. Pass the Foundry exam (build a PII-safe leaderboard)
**Why Learn AeThex?**
- One language, every platform
- Compliance built-in by default
- Industry-recognized certification
- Future-proof for emerging metaverse platforms
---
## 💡 Key Features
### Write Once, Deploy Everywhere
Single .aethex file compiles to JavaScript, Lua, Verse, and C#.
### Compliance by Default
- PII detection automatic
- COPPA age gates built-in
- Audit logging included
### Cross-Platform Sync
```aethex
sync passport across [roblox, uefn, web]
```
One line of code synchronizes data across all platforms.
---
## 🌐 Deployment Guide
### For Documentation Sites
This documentation package is ready to deploy to:
- Static site generators (Jekyll, Hugo, Docusaurus)
- Documentation platforms (GitBook, ReadTheDocs)
- Custom web servers (nginx, Apache)
### Recommended Structure
```
aethex.dev/
├── / # README.md (landing page)
├── /quickstart # QUICKSTART.md
├── /guide # Language guide sections
├── /api # API reference
├── /examples # Code examples
└── /cli # CLI documentation
```
---
## 📝 Contributing
The AeThex Language is open source and welcomes contributions.
**How to Contribute:**
1. Fork the repository
2. Create a feature branch
3. Submit a pull request
---
## 📄 License
MIT License © AeThex Foundation
---
**Built with 🔥 by The AeThex Foundation**
Empowering the next generation of metaverse developers