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.

📉 Falling 0.4x Programming Languages
3,595
Comments
20
Years Active
5
Top Authors
#9466
Topic ID

Activity Over Time

2007
11
2008
41
2009
84
2010
125
2011
102
2012
119
2013
134
2014
178
2015
167
2016
190
2017
229
2018
183
2019
218
2020
251
2021
270
2022
381
2023
347
2024
256
2025
275
2026
36

Keywords

MichaelEstes ARM youtu.be APL BYOL IDE visionscript.dev MethodScript pbat.ch E.g language programming language programming languages creating compiler programming languages ve working lisp exercise

Sample Comments

jrockway Feb 13, 2013 View on HN

What's wrong with creating your own programming language?

habibur Feb 8, 2023 View on HN

Note down the good things you find in programming languages, and build your own language writing its compiler. That will be a good exercise.

davidt84 Dec 11, 2024 View on HN

Congratulations, you've invented an entirely new language.Now, who's going to write the compiler for it?

karmakaze Feb 27, 2022 View on HN

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

zerojames Jan 1, 2024 View on HN

> 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,

iamwil Feb 7, 2008 View on HN

How'd you end up writing a programming language?

iamgopal Apr 3, 2012 View on HN

Now even I want to create a new programming language.for downvoters : pun intended.

recursivedoubts Oct 12, 2021 View on HN

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

glouwbug Mar 16, 2022 View on HN

Write your own programming language and then go solve a bunch of leetcode with it

markdog12 Sep 15, 2020 View on HN

Can you share any programming languages you created?