Creating Programming Languages
The cluster focuses on discussions about designing and implementing personal programming languages, often as educational exercises, with users sharing experiences, motivations, challenges like compilers, and encouragement to try it.
Activity Over Time
Top Contributors
Keywords
Sample Comments
What's wrong with creating your own programming language?
Note down the good things you find in programming languages, and build your own language writing its compiler. That will be a good exercise.
Congratulations, you've invented an entirely new language.Now, who's going to write the compiler for it?
I would rephrase this. First do you want to design a language or implement one? Usually you will want to do both, but where are your motivations and interests? The post starts with a desire to design one but then seems to have spent the most time on implementing it rather than iterating its design. Perhaps it became a sort of vanity project, idk.Secondly, don't write more than you need to. Look for existing 'narrow waists' that can save having to build much of it. E.g. target a
> other than "it's just for me" — and that's probably good enoughI love this sentiment, and I'm glad you made this! I love reading different syntaxes for programming languages. You should be proud. Writing programming languages is _hard_.I made an abstract programming language in 2023 (https://visionscript.dev). The language still needs _a lot_ of work and some bugs fixed. With that said,
How'd you end up writing a programming language?
Now even I want to create a new programming language.for downvoters : pun intended.
One thing I can recommend creating your own programming language. If you have no experience with doing this, I would recommend building a parser and interpreter in a language you are familiar with and enjoy.There is a great guide on how to do this here:https://craftinginterpreters.com/You can introduce some exotic syntax, make it do some funny stuff, and just play with it.Creating a programm
Write your own programming language and then go solve a bunch of leetcode with it
Can you share any programming languages you created?