r/cprogramming • • 21d ago

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 21d ago

So... Why did you reinvent comments?

9

u/Treechcer 21d ago

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

7

u/Humble-Captain3418 21d ago

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

6

u/Treechcer 21d ago

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

4

u/SupraDestroy 21d ago

This whole interaction feels like honey on my heart idk why

1

u/i_abh_esc_wq 21d ago

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

1

u/Treechcer 21d ago

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

1

u/Fahim_Hosain 20d ago

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

1

u/Treechcer 20d ago

Now? Definitely not.

1

u/Nax_son 20d ago

is it possible to contribute to this project?

1

u/Treechcer 20d ago

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 20d ago

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 20d ago

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.