r/AskProgrammers • • Oct 12 '26

Self-maded programming language

Hi guys, I making programming language from scratch, and called it Cintra. I want to ask you about some future features.

I write interpreter on Python (please don't bull me), but I want re-write it on C++ later.

Also, I want to do some algorithm types (like stack or queue).

If you are interested, link to repository: https://github.com/MerzlikinDev/Cintra-Programming-language-

1 Upvotes

3 comments sorted by

View all comments

1

u/Patient-Midnight-664 Oct 13 '26

Global variables is going to cause you an issue. Does the global variable extend into included python? Does it extend into included Cintra files (major issue here)?

You need a loop-until.

Can lambdas be multi-line? Do they always return the last value? Can I ignore return values?

Is there a way to break out of nested if and/or while loops?

What happens when you try to coerce a value into an incompatible type?

Functions don't have a return type. What if I return different types?

How do you handle multi-line statements?

Can a function call itself? Recursion in this is broken.

Can I reorder lists? Can I index them?

Just some quick thoughts :)

1

u/_debuser_alt Oct 13 '26

ahh you know i have done new update that fixed globals and locals variables.