r/Compilers • u/PacsfuryTemp • Jul 31 '26
Developing my programming language: Gravel
It all started just as a side and fun project, but I feel like it's now getting a shape.
Thats why I would love to receive some honest and contructive feedback, issue creations or code contributions.
If you have any question regarding the language, please ask me.
Here's the repo: https://github.com/Pacsfury/Gravel-Launcher
Its written in C and uses LLVM IR as backend.
AI use: debugging, teaching more about compilers and some punctual code writing
16
Upvotes
View all comments
Show parent comment
2
u/vmcrash Aug 01 '26
You already trigger the inference using
valorvar(instead of a type), so the:=is redundant. I'd use it for something else.I'd also would get rid of
elseif, because it only saves one keystroke for the space, but makes the language more complex.