Aether
Aether is a modern systems programming language with LLM-first design principles
README
Aether
A modern systems programming language with LLM-first design principles
Aether combines memory safety through an ownership system with S-expression syntax for enhanced metaprogramming capabilities. Designed for high-performance applications while maintaining safety, expressiveness, and AI-friendly code generation.
NOTE
This project is a demonstration of vibe coding intended to provide a trustworthy and verifiable example that developers and researchers can use. It is not intended
for use in a production environment.
This is not an officially supported Google product. This project is not
eligible for the Google Open Source Software Vulnerability Rewards
Program.
๐ Quick Start
Prerequisites
- Rust toolchain (1.70+)
- LLVM 17+
- Git
Build and Install
git clone https://github.com/GoogleCloudPlatform/Aether
cd Aether
cargo build --release
Hello World
(DEFINE_MODULE
(NAME 'hello_world')
(INTENT "Simple greeting program demonstrating Aether syntax")
(CONTENT
(DEFINE_FUNCTION
(NAME 'main')
(RETURNS INTEGER)
(BODY
(EXPRESSION_STATEMENT
(CALL_FUNCTION 'printf' "Hello, Aether!\n"))
(RETURN_VALUE 0)))))
Compile and run:
./target/release/aether compile examples/hello_world.aether
./hello_world
โจ Key Features
- ๐ก๏ธ Memory Safety: Ownership system with move, borrow, and shared semantics
- ๐ค LLM-First Design: Explicit intent annotations and structured syntax for AI comprehension
- โก Performance: Zero-cost abstractions with LLVM backend
- ๐ Web Ready: Built-in HTTP server capabilities and FFI networking
- ๐ Verification: Contract-based programming with preconditions and postconditions
- ๐ S-Expression Syntax: Consistent, parseable structure for metaprogramming
๐ Documentation
- User Guide - Complete language tutorial and reference
- Language Reference - Comprehensive syntax and semantics
- Final Design - Core philosophy and architectural principles
- Examples - Working code examples and demonstrations
- Technical Docs - Implementation details and architectural documentation
๐ Working Examples
HTTP Blog Server
Aether includes a complete, working HTTP server implementation:
# Compile the blog server
./target/release/aether compile examples/blog_listen.aether
# Run the server
./blog_listen &
# Test it
curl http://localhost:8080
See examples/README.md for all available examples including:
- โ Working HTTP blog servers with styled HTML
- ๐ LLM-optimized web applications
- ๐ง FFI networking integration
- ๐ Resource management demonstrations
๐ ๏ธ CLI Commands
# Compile to executable
aether compile program.aether
# Type checking only
aether check program.aether
# Run directly
aether run program.aether
# View AST
aether ast program.aether
# View tokens
aether tokens program.aether
๐๏ธ Project Structure
โโโ src/ # Compiler source code
โโโ runtime/ # Runtime library (Rust)
โโโ stdlib/ # Standard library modules
โโโ examples/ # Example programs and demos
โโโ tests/ # Test suite
โโโ scripts/ # Build and development scripts
โโโ docs/ # Technical documentation
โโโ tutorials/ # Learning materials
๐ฏ Status
Production Ready - AetherScript is fully functional with:
- โ 360 unit tests passing
- โ Complete compiler pipeline (lexing โ parsing โ semantic analysis โ LLVM codegen)
- โ Ownership system with move/borrow tracking
- โ HTTP server examples demonstrating real-world applications
- โ Comprehensive CLI with multiple commands
- โ Runtime library with memory management and networking
๐ค Contributing
- Read the Final Design document
- Check Technical Documentation for implementation details
- Browse Examples to understand the language
- See Build Scripts for development workflow
๐ License
This project is licensed under the Apache 2 License - see the LICENSE file for details.
๐ Links
- Repository: https://github.com/GoogleCloudPlatform/Aether
- Documentation: Complete docs in this repository
- Examples: Live HTTP server demos in
/examples
Aether: Bridging human intention and machine execution through explicit, verifiable code.
