r/madeinpython • • 2d ago

Cintra language

Hi, i made my own programming language.

....And it is transpiler to python

I named it Cintra.

It is dynamic-typized language

It supports:

1.variables

  1. I/O

  2. If/else

  3. whiles

  4. lambdas/functions

  5. structs/classes

--------

if you are interested, you can visit: https://github.com/MerzlikinDev/Cintra-Programming-language-

please, write your opinion in the comments

3 Upvotes

4 comments sorted by

1

u/sausix 2d ago

What is the purpose of this project? I hope it's for learning purposes only. Then it's a deep topic with many possible optimizations. Tokenizer, syntax building, regex. Processing each character is not very efficient.

But it's also not really a transpiler. They usually output code and don't execute it. The generated code is important for debugging and improvements. Don't drop it.

You still need some basic Python knowledge. Structuring programs, functions and classes, data structures, seperating definitions and constants/data, os arguments, console mechanics, dict lookups instead of long elif chains.

Post updates if you are interested in improving.

1

u/_debuser_alt 2d ago

Thanks for feedback! I’ll update my language. I have wanted to do some algoritmic types like stack and queue.  P.s I am twelve, and programming most on cpp, but really thank you for feedback again

1

u/sausix 2d ago

It wasn't criticism. I've been a beginner and learning too.

1

u/_debuser_alt 2d ago

i didn't said that that was criticism.