r/cprogramming • • Oct 03 '26

Dio: Small Programming language made in C version 0.1.0 release

Hi, I'm working on my own programming language, I've release first stable version (v 0.1.0), I'd like to get feedback. It's on most OS platforms (even Andoird and in the future IOS).

Repo: https://github.com/Treechcer/DIO

7 Upvotes

13 comments sorted by

5

u/Humble-Captain3418 Oct 03 '26

So... Why did you reinvent comments?

9

u/Treechcer Oct 03 '26

If you write '>* *<' it looks like a cat face.

7

u/Humble-Captain3418 Oct 03 '26

Fair enough. Have you considered that <>< and ><> would look like fish and would therefore be great for line comments?

6

u/Treechcer Oct 03 '26

Thank you for suggestion, I'll add support for this later. Can you please open issue on github?

4

u/SupraDestroy Oct 04 '26

This whole interaction feels like honey on my heart idk why

1

u/i_abh_esc_wq Oct 04 '26

You thought it was a programming language. But it was me, DIO!!

1

u/Treechcer Oct 04 '26

It's not a JoJo reference. But I guess.

1

u/Fahim_Hosain Oct 04 '26

Did you try to solve any particular problem that others have?

1

u/Treechcer Oct 04 '26

Now? Definitely not.

1

u/Nax_son Oct 04 '26

is it possible to contribute to this project?

1

u/Treechcer Oct 04 '26

Yes. You can test it and open issues or just make, I believe it's called Pull Request in GitHub? I don't really use GitHub in more than one person generally.

1

u/Nax_son Oct 04 '26

thanks, i fixed that issue the guy opened an issue for and i opened a pull request, just know that there are also some few other memory related issues such as unchecked malloc() calls in readFile() and copyPos() an out-of-bounds write in checkIfValidFileEnd(), and a possible memory leak there as well.

1

u/Treechcer Oct 05 '26

Yes, u know, I'm new to C so I didn't exactly knew how to fix it. I'll look into wall memorry issues later.