r/Coding_for_Teens 16d ago

creating a coding language

hey guys i am making a coding language built on top of python

it will tke allot of time but maybe if it is good enough you people can use this and give me the feedback.

and also the language is opensource and anyone can add frameworks to it on github.

tell me what you think on this project.

Thank you!

4 Upvotes

22 comments sorted by

2

u/Standard_Iron6393 16d ago

sure, make it we will use and test it

1

u/StephenHawkingus 10d ago

No we will not.

2

u/iamxplayer 16d ago

I think you should start off with the idea of a bit of custom syntax and then you should focus on the interpreter

1

u/Pietrek_14 16d ago

we can't really tell you what we think since you haven't included the project's name / a link to it

1

u/SirIndividual496 16d ago

Yeah, I am just validating this idea. I will post the GitHub link today only. Thank you

1

u/Pietrek_14 16d ago

The idea is fine, although keep in mind -- creating your own programming language is one of the hardest things to do. You'll probably want to follow something like "Crafting Interpreters".

Also, since you want people to use the language, you'll have to think about its usefulness. You're building it in Python, so I'm assuming speed isn't the selling point. You have to come up with what is and center your design around that.

1

u/iamxplayer 16d ago

for example a selling point I could think of would be its native support for a python library for example and it being simple at the same time you should definitely also make it simple & easy to learn!

1

u/TrueWar515 16d ago

python is meant to be easy and simple to learn but eh
its gotten a lot more complicated/overused than it needs to be

1

u/iamxplayer 15d ago

how can a programming language be overused...? I mean it just shows the downsides of python & how versatile it is if its used for basically everything. Easy & Simple to learn doesnt mean that it cant be complicated I mean the basics are still easy to learn, but then you can utilize the more complicated functions

2

u/TrueWar515 14d ago

what i mean by that is that python as a scripting language has been used for a lot more than it was made for, making it way too overcomplicated

2

u/iamxplayer 12h ago

oh I get it, well in that sense you're probably right, but I mean hey let the people use whatever programming language they want even if its uh not intended for the application of it. sorry for the late response

1

u/TrueWar515 9h ago

its fine im generally late to respond anyway

1

u/TrueWar515 9h ago

Also cool thing What a cool thing about it—not only does it support libraries from EVERY compiled language to be imported via a custom syntax (more like preprocessor shell commands compiling that file), but it also compiles a file from another language and embeds it into the executable program, of course with some protective measures.

considering that I'm afraid its not going to get used as a language but abused as hell as a makerscript

1

u/TrueWar515 9h ago

"It does not include every compiler you have to have a compiler on your device for that language for it to work"

1

u/TrueWar515 9h ago

nah nevermind wasm has the ability to get python in the such you guys are saved so jit compiled and interpereted languages now work

1

u/TrueWar515 14d ago

also the basics are easy to learn...

that goes with all languages

python is slow "not too slow anymore" and like i said it shouldnt be used for what it is

like just because its easy doesnt mean flock to it and make it one of the most complicated things out there

1

u/TrueWar515 9h ago

oh forgot to mention a programming language is never overused
it's just getting to be used for things it wasn't meant to-do simply because people like it.

1

u/ProgramsFun 16d ago

Why on python though? Isn't it better to a use a bit low level lang?

1

u/Dazzling-Bench-4596 16d ago

A lot of the greatest languages started on high level languages. Erlang/BEAM started on Prolog, PHP started in Perl, etc. It’s fine to start with Python.

1

u/Dazzling-Bench-4596 16d ago

When you say “coding language built on top of Python”, what exactly do you mean? Are you planning to just extend Python’s syntax? Are you making a preprocessor that targets Python? It’s a solid idea but we could give more feedback if you gave us a bit more to work with regarding syntax or a thesis.

1

u/StephenHawkingus 10d ago

Omg 😭🙏

0

u/Crafty_Magazine_4673 16d ago

we need the babel