Are you tired of your programming language being far too good? π΄ Do you find yourself frustrated by fast runtimes, reliable output, and helpful type systems? π€ Introducing HeLLM π β the only language where every single statement is passed through a Large Language Model before it even thinks about running! π€β¨ Why settle for deterministic, logical execution when you could have the full creative chaos of an LLM at your fingertips? π¨π₯
-
LLM-Powered Everything ππ€
Every line, every variable, every print statement β all interpreted by a Large Language Model! πβ‘ Who needs compilers when you have vibes? β¨π -
Revolutionary Function System π§βοΈ
Define functions withfnand call them withrun! πββοΈπ¨ Because why use normal function calls when you can confuse everyone with custom syntax? π΅βπ« Functions even support multiple return values, although only as args as kwargs are far too readable! πβ -
Pay-as-you-go Interpretation πΈπ³
HeLLM doesn't just interpret your code β it consults an LLM for every single step, ensuring maximum latency and minimum predictability! β°π² -
Nondeterministic Output π°π―
Since every statement is filtered through an LLM, you never know what you'll get! π€·ββοΈ Your code might work, or it might write poetry. πβ¨ Isn't that exciting? π -
No Pesky Types π«π
Types are for the weak! πͺ In HeLLM, the LLM decides what your variables mean, and sometimes it changes its mind. π§ π Function parameters? Just vibes. β¨π -
Blazingly Slow πβ‘
Why rush? π€ With every statement sent to an LLM, HeLLM ensures you have plenty of time to reflect on your life choices while waiting for your code to finish! β³π -
Expressive Syntax ππ
Write code that looks almost like English, but not quite enough to be understandable! π€ͺ The LLM will figure it out. Or not. π€β -
All the Operators You Need! β‘π§
HeLLM gives you the essentials:if, variable assignment,whileloops, reading input from the CLI, printing to stdout, function definitions withfn, function calls withrun, and evenreturnstatements! π―β All other operators are useless (trust me, ChatGPT says so, bro). π€π¬
com "This is a comment, this is ommitted when interpreting";
com "Count to 5, printing each number";
let x = "0";
while "Is x < 5?" {
let x = "Calculate x + 1";
print x;
}
com "Query general knowledge";
let city = "The captial city of the UK";
print city;
com "Get the first command line arg";
use name = 0;
com "Define functions and run them from each other";
fn generate_greeting name {
let greeting = "A greeting for the person called <name>";
return greeting;
}
fn greet name {
run msg = generate_greeting name;
print msg;
}
com "Greet the name, then delete the name from the scope (so no more llm calls see it)";
run greet name;
del name;
com "Use conditional logic, with optional else blocks, and scoping";
let msg = "Empty string";
if "<city> is in europe" {
let msg = "Exact text: Your city is in europe";
} else {
let msg = "Exact text: Your city is not in europe";
}
print msg;
- VSCode Extension Available π»π
Enjoy first-class HeLLM support in Visual Studio Code: π- Syntax highlighting for all your HeLLM masterpieces. π¨β¨
- Document formatting to keep your code looking sharp (but beware: extra whitespace is strictly forbidden β this isn't Python, after all). ππ«
- Instant feedback as you type, so you can focus on creative chaos, not code style. β‘π
Follow these steps to get HeLLM up and running: πββοΈπ¨
HeLLM needs access to an OpenAI API key. π€ Set your OPENAI_KEY environment variable in your shell: π»
export OPENAI_KEY=sk-...
(Replace sk-... with your actual OpenAI API key, so you can track how much money you are wasting enjoying.) πΈπ
Choose one of the following methods:
The easiest way β no compilation required! π
-
Download the Binary π
Head to the releases page and download the appropriate binary for your system:- Linux:
hellm-linux - macOS:
hellm-mac - Windows:
hellm-windows.exe
- Linux:
-
Make Executable & Install (Linux/Mac only) π§
chmod +x hellm-linux # or hellm-mac sudo mv hellm-linux /usr/local/bin/hellm # Linux sudo mv hellm-mac /usr/local/bin/hellm # macOSFor windows users, ask ChatGPT how to do this.
For the brave souls who want to compile everything themselves: πͺ
-
Prerequisites π§π»
- Be on Unix (sorry Windows users β makefile only works on Unix-like systems π’)
- Install Go (Golang) πΉβ‘ If you don't know how, I'm sure ChatGPT can help. π€π
-
Build & Install π§βοΈ
make toolThis will build the HeLLM tool and install it to
/usr/local/bin. πβ
Choose one of the following methods:
- Download
hellm-extension.vsixfrom the releases page π - Install in your editor: βοΈ
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Run "Extensions: Install from VSIX..."
- Select the downloaded
hellm-extension.vsixfile π―
- Open Command Palette (
make extension
This will copy the extension to your VSCode and Cursor extensions folders. ππ―
That's it! π You're ready to write the most exciting and expensive code of your life! π°π₯ If you need to see the subcommands of hellm, run hellm help. πβ