🔲 Mirror 🔳 - My Other Programming Language!
DynamicSquid

Hi!

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
RayhanADev

Ahhh I couldn’t wait for you to release this! Awesome language @DynamicSquid!

DynamicSquid

@RayhanADev wdym by "release this"?

RayhanADev

@DynamicSquid ‘when you made it public‘. You’ve talked about and I was waiting for you to post it!

DynamicSquid

@RayhanADev huh? when did I say that?

RayhanADev

@DynamicSquid mhh sometime within the last week. You mentioned Mirror (and I think gave the Github link I’m pretty sure).

DynamicSquid

@RayhanADev I'm not sure what I meant by that. But this language is public, anyone can use it...

RayhanADev

@DynamicSquid sigh. I mean you told me about it (a project you were working on) before you made the post xD.

DynamicSquid

@RayhanADev ahhhhhhhhhhhhhhhhhh I get it now lol xD

DynamicSquid

@RayhanADev sorry I'm slow sometimes

RayhanADev

@DynamicSquid (°▽°) yay finally. If you still didn’t I’d have to resort to more extreme methods.

RayhanADev
DynamicSquid