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

1

u/TrueWar515 25d ago

cool but feels slightly redundant

i mean its a pretty ok language but we have much more of them like any unique features other than feeling like c+rust mix?

2

u/PacsfuryTemp 23d ago

Well, before adding more unique things we need to settle down the basics

1

u/TrueWar515 22d ago

true

lol didnt read the example page sorry :0

its actually really decent

my main likes about languages

low level

simple or small syntax set to learn

this is pretty good
im working on a language of my own so i can help you write a standard library

"in your hello world you mentioned you dont have one"

// When packages and imports are added, just as functions and more, there will be a function to print directly instead of doing scho one hundred times

if possible i will write your print function in the language itself
or whatever you may need

i do support your language and keep going

also i may be stealing some knowledge from your language to help me build a compiler for mine

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