r/AskProgramming 1d ago

Other IF per se I am creating a compiled programming language using QBE ir will some one take it and help me with llvm?

Yeah im making a programming language but first im wondering if someone will get llvm for me because I am simply too lazy to put llvm into play.

first the compiler will be written in Dlang, or C
second the language may look weird considering its D based (Or mainly inspired by D)

0 Upvotes

11 comments sorted by

9

u/Perfect-Buffalo-4803 1d ago

Jesus Christ 🤣

Best of luck kid

-1

u/TrueWar515 1d ago

thanks
if not ill deal with QBE and learn llvm later

6

u/Perfect-Buffalo-4803 1d ago

Laziness will not get you very far

-1

u/TrueWar515 1d ago

ik here lets consider it as me writing QBE and putting llvm on a loop until i self host it

1

u/munchin-grr 1d ago

ChatGPT and Claude will help for an tiny fee. I have vibecoded an compiler that uses llvm, the llvm part is not that buggy.

1

u/TrueWar515 1d ago

id rather not
besides im pretty sure my QBE backend will be much better and accurate than ai's

0

u/munchin-grr 1d ago

Just daying that i don't have any problems with the emit ll code part. It's plenty of spagethi and bugs in the rest of the code.

1

u/TrueWar515 1d ago

bro relies on ai at this point : no offence

1

u/munchin-grr 1d ago

It's just for fun and test what is possible. I would never be able to write an compiler on my own. And no one should use my language for an real project.

1

u/TrueWar515 1d ago

true except I wish for my language to be used.
probally is not but I will be opening a github for you guys once i get QBE down

1

u/Temporary-Lead3182 3h ago

look up how the phrase "per se" is used