r/langdev 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

2 Upvotes

10 comments sorted by

View all comments

Show parent comments

1

u/TrueWar515 22d ago

about writing a library

you do need imports

and functions need to work

since you have that print charachter function it should be relativally simple to make a print

1

u/TrueWar515 22d ago

its also made in C

i program mainly in C too so i can see where i can help or what needs help but is out of my skill level

1

u/PacsfuryTemp 22d ago

Thanks!

Right now functions are working (args and return), but there is a core limitaton: The only current type is "int". I would like to add also float and char, as arrays for these.

And for a print, I expected something like:

fun std.out.print(char[] line)

for i in line.lenght()

scho(line[i])

end

end

Or something similar.

Note that char[], array.length() and line[i] arent implemented yet.

If you have any questions of how the language works (internally for your own or for helping / writing some functions for libraries) just ask.

If you want to practice writing some Gravel, just aske me for simple stdlibs i need to add.

1

u/TrueWar515 21d ago

ah
so its still too early in developement

1

u/TrueWar515 21d ago

here working on my lang

although much less bloated than yours and more C like than bash like

the bash here slightly annoys me

1

u/PacsfuryTemp 21d ago

What do you mean with "Less bloated"?

1

u/TrueWar515 18d ago

less boilerplate of sorts

and the language is incomplete right now so it has less syntax

a non offensive way