News for hackers. Stuff that matters.
Re:Why most of us won't be inventing little languages by kstenerud on Monday April 17, 2023 @08:20AM (#35599650)
Yup, I found out how hard it is just writing a simple language that doesn't even need computer tooling: https://dogma-lang.org/

And even with a language as simple as this, it still took 6 months. The biggest problem is keeping the patterns simple and coherent, while avoiding unnecessary features. It pains me to think of the weeks spent developing parts that were ultimately ruthlessly slashed away. Hours spent agonizing over a usage pattern that was mostly the same but different enough that (I thought at the time) it required special constructs... and then not as I thought about it in the shower days or weeks later. It's one hell of an eye opener.

And then there's the type system... UGH.

Re:Why most of us won't be inventing little languages by packetlost on Monday April 17, 2023 @10:18AM (#35601074)
There are languages out there that are more or less designed for rapid prototyping of PLs. Lisps, and in particular, Schemes such as Gerbil and Racket, are particularly well-suited to building languages. Yes, you have to get used to the prefix notation and (((((((, but ultimately it lets you have a lot of flexibility in testing out language constructs and usage-patterns before you build the parser, lexer, etc. that are time consuming.
Re:Why most of us won't be inventing little languages by sitkack on Monday April 17, 2023 @11:57AM (#35602630)
I think you meant, ))))))))
Re:Why most of us won't be inventing little languages by MisterTea on Monday April 17, 2023 @12:41PM (#35603240)
I think you just couldn't stand seeing all those unclosed braces ;-))))))))