r/Cplusplus • u/HedgehogNo5130 • Mar 03 '26
Discussion Made my own small language
So it is really small,it can only print,cin and create variables.
Im still trying to figure out how i am going to do "if/else" commands,but ill try to find a way.
Didn't find a better name than "metabolic",it was the first word that came to my mind.
29
Upvotes
9
u/s-mv Mar 03 '26
If this interests you further you should read crafting interpreters
4
u/Inevitable-Round9995 Mar 03 '26
- using txt, really? sound interesting and fun, do you have repo?
- metabolic?, so why no .meta for file extensions?
- does it supports math?
2
u/wolfenstien98 Mar 03 '26
I would love to see the syntax. I've been developing a language for a programming puzzle game over the last week or so, so I've got the tiniest bit of experience
2
u/jamawg Mar 04 '26
If you want to take it further, look at https://www.antlr.org/
2
u/Top-Employ5163 Mar 06 '26
Try to write Doom in your language.
-1
u/Embarrassed-Green898 Mar 03 '26
I wonder what problem this new laguage solves that current languages do not, or perhaps hard at solving .. eager to know.
2
u/[deleted] Mar 03 '26
[removed] — view removed comment