DEV Community

greg
greg

Posted on

i built a compiler using 100% ai slop

this is weedlang, a language that targets x86 windows

its made of 100% ai slop - used chatgpt codex and gemini cli to write the code

i made it cuz i can, wanted to see if one person could build a real compiler using only free AI tools (and maybe deepseek paid)

it has:

  1. its own PE linker (no external linker needed)
  2. macro system
  3. produces working executables
  4. self hosting in progress (bootstrap tokenizer already written in WeedLang itself)

still needs NASM for now but working on removing that dependency

heres a screenshot of hello world program that works

its an image

check it out:
https://github.com/greg123i/weedlang

Top comments (0)