🔲 Mirror 🔳 - My Other Programming Language!


I made another language. It's called Mirror.

It's statically typed and riddled with bugs. It's coded using Rust and transpiles down to C++.

I only had like 10 hours to make this so it isn't much. And this is also my first time coding in Rust so the code is really bad.

I'll probably revisit this sometime in the future though.

Check out its GitHub repo!

Here's Mirror's syntax.

Mirror has a built in print function that acts as standard output.

Variables are created using the set keyword. Their type is automagically deduced.

Conditionals are as expected.

Functions are defined using the def keyword.

Ranged based for loops are also supported.

And arrays.

And that's it!

Write code in the source.mir file. Here's some code to reverse your name. Try it out!

Enjoy :)

You are viewing a single comment. View All

Syntax is like python, why did you choose it to be like that?


@Code1Tech Cause I only had 10 hours and I couldn't think of anything else :)

But it's nothing like Python. It's transpiled and statically typed


K. Also, nice! For 10 hours, I'd say that is very good!
I could never write a language in 10 hours or under.
Correction: I would never be able to make a language (xD)
tl;dr, Good job!


@Code1Tech Oh thank you!!