The AML Programming Language with AI AML Logo
Site Map:
Download!

All releases:
aml v00


Search this Site


Maintained by the
AML Team
AML Overview

AML (AI Machine Language) is a modern programming language designed to bridge the gap between natural language and high-performance C++ code. It leverages large language models to translate human-readable instructions into optimized C++, which is then compiled to native binaries using industry-standard tools.

The AML project aims to democratize systems programming by allowing developers to express their intent in plain English, while still producing code that runs as fast as hand-optimized C++. This approach combines the productivity of high-level languages with the performance of low-level systems programming.

Key design principles of AML include:

  • Natural Language First: Write code in plain English, let AML handle the translation to efficient C++.
  • Performance by Default: Generated code is compiled with G++, ensuring native execution speed.
  • Simplicity: No complex syntax to learn—just describe what you want in clear language.
  • Extensibility: Use any LLM backend (OpenAI, LM Studio, local models) for code generation.
Key Features
  • AI-Powered Code Generation: Convert natural language to C++ using state-of-the-art LLMs.
  • Native Performance: Generated code compiled with G++ for maximum speed.
  • Flexible LLM Backend: Support for OpenAI, LM Studio, and custom API endpoints.
  • Zero Runtime Overhead: No interpreter or VM—just pure compiled binaries.
  • Human-Readable Output: Generated C++ code is clean, commented, and ready for review.
  • Simple Configuration: Easy setup with model name, API key, and endpoint URL.
Documention

This tutorial will guide you through installing and using AML to create your first program.

Step 1: Installation
wget https://pixpo.ir/dl/v00/aml-v00.tar.gz tar -xzf aml-v00.tar.gz cd aml-v00 ./aml
Step 2: Configure LLM Backend

Configure your preferred LLM backend:

aml config set model "gpt-4" aml config set apikey "your-api-key-here" aml config set posturl "https://api.openai.com/v1/chat/completions"

For local development with LM Studio:

aml config set model "local-model" aml config set apikey "not-needed" aml config set posturl "http://localhost:1234/v1/chat/completions"
Step 3: Write Your First Program

Create a file called hello.aml:

# hello.aml Please write a C++ program that prints "Hello, World!" to the console
Step 4: Compile and Run
aml compile hello.aml hello ./hello

Output:

Hello, World!
Supported LLM Backends
  • OpenAI (GPT-4, GPT-3.5)
  • LM Studio (local)
  • Anthropic Claude
  • Google Gemini
  • Any OpenAI-compatible API
Commands
  • ./aml config set model [your model]
  • ./aml config set apikey [your api key]
  • ./aml config set posturl [chat complation url]
  • ./aml config show [posturl | apikey | model]
  • ./aml config unset [posturl | apikey | model]
  • ./aml compile [your source code (test.aml)] [output binary (test)]
  • ./aml version
FAQ

Q: Do I need an API key?
A: Yes for cloud LLMs, no for local setups like LM Studio.

Q: What compilers are supported?
A: G++ are officially supported.

Q: Where can I download old versions?
A: Link.

Q: Is AML free?
A: Yes.


News
Wed, 18 Feb 2026 14:14:38 +0330: AML v00 released!

----------------------------------------------------------

Wed, 18 Feb 2026 15:24:38 +0330: Website Created

----------------------------------------------------------

Wed, 18 Feb 2026 16:31:38 +0330: Website launched
----------------------------------------------------------

Wed, 18 Feb 2026 17:00:22 +0330: Website Updated
1: added command list
2: update news list
----------------------------------------------------------
Wed, 18 Feb 2026 21:12:31 +0330: Website Updated
1: CSS Updated
2: Black CSS Added