8000 GitHub - JoshPattman/hellm: πŸš€πŸ’― HeLLM: AI-Powered Programming Language That's Disrupting Code Execution Through Revolutionary LLM-Driven Innovation! πŸ€–βœ¨ Experience next-level developer synergy with cutting-edge artificial intelligence! πŸ”₯πŸ’Ž #GameChanger #TechDisruption #FutureOfCoding πŸ’ΈπŸŽ― Β· GitHub
[go: up one dir, main page]

Skip to content
JoshPattmanPublic

About

πŸš€πŸ’― HeLLM: AI-Powered Programming Language That's Disrupting Code Execution Through Revolutionary LLM-Driven Innovation! πŸ€–βœ¨ Experience next-level developer synergy with cutting-edge artificial intelligence! πŸ”₯πŸ’Ž #GameChanger #TechDisruption #FutureOfCoding πŸ’ΈπŸŽ―

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HeLLM: The Language You Never Knew You Didn't Need πŸ€―πŸ’€

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? 🎨πŸ”₯

Features 🌟

  • 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 with fn and call them with run! πŸƒβ€β™‚οΈπŸ’¨ 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, while loops, reading input from the CLI, printing to stdout, function definitions with fn, function calls with run, and even return statements! πŸŽ―βœ… All other operators are useless (trust me, ChatGPT says so, bro). πŸ€–πŸ’¬

Example πŸ“πŸ’‘


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;

Extra Features ⭐🎁

  • 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. ⚑🎭

Installation πŸ› οΈπŸ“¦

Follow these steps to get HeLLM up and running: πŸƒβ€β™‚οΈπŸ’¨

Step 1: Set Your OpenAI API Key πŸ”‘πŸŒ

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.) πŸ’ΈπŸ˜„

Step 2: Get the HeLLM Binary πŸ“¦πŸ’Ύ

Choose one of the following methods:

Option A: Download Pre-built Binary (Recommended) πŸ“₯⚑

The easiest way – no compilation required! πŸŽ‰

  1. 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
  2. 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    # macOS
    

    For windows users, ask ChatGPT how to do this.

Option B: Build from Source πŸ”¨βš™οΈ

For the brave souls who want to compile everything themselves: πŸ’ͺ

  1. 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. πŸ€–πŸ’­
  2. Build & Install πŸ”§βš™οΈ

    make tool
    

    This will build the HeLLM tool and install it to /usr/local/bin. πŸ“βœ…

Step 3: Install the VSCode/Cursor Extension πŸ§©πŸ’»

Choose one of the following methods:

Option A: Download .vsix File (Works with Binary Download) πŸ“₯

  1. Download hellm-extension.vsix from the releases page πŸ“‚
  2. Install in your editor: βš™οΈ
    • Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
    • Run "Extensions: Install from VSIX..."
    • Select the downloaded hellm-extension.vsix file 🎯

Option B: Build Extension (When Building from Source) πŸ”¨

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. πŸ“–β“

About

πŸš€πŸ’― HeLLM: AI-Powered Programming Language That's Disrupting Code Execution Through Revolutionary LLM-Driven Innovation! πŸ€–βœ¨ Experience next-level developer synergy with cutting-edge artificial intelligence! πŸ”₯πŸ’Ž #GameChanger #TechDisruption #FutureOfCoding πŸ’ΈπŸŽ―

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0