r/madeinpython • u/_debuser_alt • 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
I/O
If/else
whiles
lambdas/functions
structs/classes
--------
if you are interested, you can visit: https://github.com/MerzlikinDev/Cintra-Programming-language-
please, write your opinion in the comments
4
Upvotes
1
u/sausix 1d 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.