Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
English Compiler is a POC AI compiler converting English markdown specs into functional code, enabling code generation from natural language specifications.
The English Compiler is a Proof of Concept (POC) AI-based compiler designed to translate English-based markdown specifications directly into functional code. This project explores the potential of using AI to abstract the coding process, allowing developers to generate code from natural language specifications.
Key Features:
english-compiler.jsonc
file for settings, including the OpenAI API key, specification directory, and output directories.Use Cases:
Installation:
Install the compiler globally using npm:
npm install -g english-compiler
Configuration Example (english-compiler.jsonc
):
{
"openai_apikey": "REPLACE-WITH-YOUR-ACTUAL-KEY-AND-DO-NOT-CHECKIN",
"prompt_cache_dir": "./prompt_cache",
"spec_dir": "./spec",
"code_dir": "./src",
"test_dir": "./test",
"personality": "Sassy & Sarcastic"
}
Note: This is a POC and not production-ready. The successor to this project is smol-dev-js.