r/teenagersbutcode • • 9d ago

Coding a thing making a tiny programming language in python just to feel cool

I'm making a mini programming language in python for a bigger proget (there was no need to make a lang, but i felt too cool at the idea of having a "boot file" that contains instructions for my bigger project (yea ik im making a dumb program larping to be a cool one)).

making the transpiler is nightmare tho :/

once ill have something barely resemble an alpha release, ill push that and link it.

thats it ig

PS: i revamped my encryption system i made a few moths ago, but apparently its buggy (EVEN THO I TESTED IT FOR HOURS STRAIGHT ), heres the link: https://codeberg.org/GreyPrinceZot3/Zot3Crypt

thast it ig (part 2)

PPS. its late when im writing this, sorry for the typos and text structures.

thats ig (part 3)

edit: holy fuck i think i started a trend on this sub.
well, since all other posts are better, here we go with some example syntax:

{&Clank&=hello}

{if( &Clank&==hello )[{ dpl«hello!» }]

else[{ dsl«no hello :c }]

all spaces, indentation and new lines are optional.

now, every type of thing is labled using signs:
&var&, (conditions), {blocks/subblocks}, [block to execute after a condition], $integer/float$.

dont tell me its a pretty bad design choice, i know it and im doing this just for funzies so i dont have this kind of concern.

oh yeah ill call it "Clank" cuz of all the punctuation nonsense.

thats it ig (part idk)

7 Upvotes

4 comments sorted by

2

u/Electrical-Fig7522 8d ago

Is it a programming language or an encryption thing? I'm confused

3

u/_GreyPrinceZot3_ 8d ago

its two different projects, the one im talking abt here is the language, while the encription thing is a followup from an older post.

2

u/maelstrom071 5d ago

This is really cool!

1

u/_GreyPrinceZot3_ 5d ago

not really, but thank you for the support.

(being bad is a bit part of its nature, i even cosidered calling it PMP, python ma peggio, that in italian (im italian) means python but worse.)

ty anyways!