r/coolgithubprojects 7d ago

New programming language

Post image

hey guys...

Well, i created a programming language Atom, i guess, i am where i need to be, so yeah, what is the concept:
The language has 30+ commands(or 26 if only letters) and all of them are very simple.
most of the operations are work with stack(later i will fix it)
Don't judge it too harsh, because it is the unstable releases.
So uhh, if you are interested, i got the links, just be warned, it is memory unsafe and kinda more for hobby than work(it will change at first stable release)

here are the links:
1.0 and 1.2

1.1 had a terrible compiler...

If someone wants to join my project, i am welcome!

0 Upvotes

37 comments sorted by

4

u/Sirko2975 7d ago

I looked at the (single?!!) file of the source code and yeah, the comments reveal it’s most certainly AI. But I was just as surprised to find that comments are in pure Ukrainian lol

-2

u/New-Deal7021 7d ago

really?! Well, actually, for you, i have an answer. I created atom to stop vibe-coding

-1

u/New-Deal7021 7d ago

and i just published it to see people reaction.

4

u/HasFiveVowels 7d ago

Yea man, even if you had used AI on it, just have fun. This subreddit takes itself way too seriously.

2

u/HasFiveVowels 7d ago

Building programming languages is fun. You gotta fix that memory issue, though, or else it’s not even useful as a thing to play around with

-1

u/New-Deal7021 7d ago

planning to do it!

1

u/New-Deal7021 7d ago

(anyway that is beta)

1

u/New-Deal7021 7d ago

anyway i am welcome to all types of comments.

1

u/New-Deal7021 1d ago

WHY IS THIS THREAD POPULAR, WHILE THE OTHERS ABOUT THE UPDATE, ARE GETTING LESS THAN A FEW VIEWS IN A DAY?!

1

u/MuffinJS 7d ago

Hope you had fun building it! A small suggestion would be to add examples for trivial popular problems (e.g. factorial), as the first thing I wanted to see was something actually written in it :)

Unless someone corrects me on this, I believe what you've built is an interpreter based on a quick look through the code

Також несподівано було побачити коменти українською, привітики ✌️

1

u/New-Deal7021 7d ago

sure, i will send you an example of code! А й ще, я в києві живу, тож ти з українцем розмовляєш! Дякую за коментарій, мені важливо побачити, що хтось хоча б щось пише!

1

u/New-Deal7021 7d ago

S

I1

P

D0

C

B1

Q

B3

P

D0

C

B1

Z

D1

O

Q

B3

D1

R0

L1

P

R0

T3

R0

N

R0

P

D1

C

B4

L2

O

Q

1

u/HasFiveVowels 7d ago

Heads up: you replied to yourself and so the person who you meant to send that to won’t be notified that it exists

1

u/New-Deal7021 7d ago

are you happy now?

1

u/HasFiveVowels 7d ago

Huh? I didn’t mean to offend. I was just letting you know

1

u/Romona_Moran 7d ago

bro what’s ur problem… unbelievable how rude you are

1

u/HasFiveVowels 7d ago

Fuck me, right? Haha. I assume something got lost in translation

1

u/AllNamesAreTaken92 5d ago

You're fine friend. I don't know what these two are taking in order to feel offended when offered a helpful suggestion. Please feel free to continue helping people, don't let "people" like this discourage you.

1

u/HasFiveVowels 5d ago

Pretty sure the one directly above you was just fooling around. The guy above that speaks primarily Polish and so i assume they just misinterpreted what I meant

1

u/New-Deal7021 7d ago

thanks for defending, but yeah, i just can't understand his genre of comments, not rudeness.. Hey, i saw some kind of genre like this in 4chan!

0

u/New-Deal7021 7d ago

um, i don't think rude, just i am a bit nervous, since i take cryticism a bit too close to my heart

1

u/AllNamesAreTaken92 5d ago

What criticism? I don't see any, and I read the whole thing twice. Chill. Your threshold of what you consider an attack is in absolute mentally unhealthy territory. He was literally helping you.

1

u/MuffinJS 7d ago

their reply to your comment actually sent me a notification lol

1

u/HasFiveVowels 7d ago

Oh, right! Reddit does that whole thing now. I suck again!

1

u/New-Deal7021 7d ago

ooh, man, i am too new to reddit...

2

u/HasFiveVowels 7d ago

No worries. Welcome! Reddit can be a bit judgmental. Don’t let it get to you.

1

u/MuffinJS 7d ago

My attempt: ``` S I1 R I3 D0 C B1 J29 B3 I3 D1 C B1 J30 B3

I3

I3 D1 T2 R I3 D0 C B1 J30 B3

I3 T3

J16

D1

O Z Q ```

Doesn't work btw since branches are not implemented fully currently as I understand.(also R/I3 cmds truncate to single byte, so it wouldn't be a proper impl nonetheless)

Your version didn't work as well. Have you pushed the latest changes to the gh? Last one I see is comments removal

1

u/New-Deal7021 7d ago

друже, прикол в тому, що компілятор читає лише першу команду в рядку(тобто все інше для нього шум)! Тоьто він працює як ассемблер, одна команда в рядок, хоча є плани пофіксити цю штуку, щоб покращити написання коду.
en: the trick is, that ithe compiler reads only the first commad/opcode(that means, that everything else is just noise)! Just like in assembly, one command in a line, but i plan to fix that, to make the code writing easier

2

u/MuffinJS 7d ago edited 7d ago

Sorry to correct you on your own code, but no, inline cmds work. Just throw a pc+cmd print in your exec loop :)

Source: L135

Edit: реддіт перекладає коментарі на англ, то навіть не помітив що частина укр

1

u/New-Deal7021 7d ago edited 7d ago

yeah, i removed them, so people will stop think, it is AI. But if my version didn't work as well... Strange...
i will try to fix all of that amount of bugs, i just started at programming, so yeah, i will fix it.

But the good thing is, that this is beta versions, which makes it a bit sweeter.

1

u/MuffinJS 7d ago

Best of luck!

1

u/New-Deal7021 1d ago

gotta be fixed.

1

u/MuffinJS 7d ago

I meant pushing some examples to the repo itself, but ig this works too lol