What you learn by making a new programming language
1–10 of 137 posts
Re: What you learn by making a new programming language
#2Re: What you learn by making a new programming language
#3This was before async/generators were added to JS and callback hell was quite real. I wanted to shape it in the way I’d learned to program in Visual Basic. Very human readable. The result is no longer useful, but it was a fun goal to have the compiler compile itself.
Re: What you learn by making a new programming language
#4Re: What you learn by making a new programming language
#5Every program expands until it becomes a compiler or checks mail. Emacs's sin was doing both.
Maybe it's true failing though was stopping short of becoming the OS.
Re: What you learn by making a new programming language
#6Every program expands until it becomes a compiler or checks mail. Emacs's sin was doing both.
Re: What you learn by making a new programming language
#7Make your initial grammar SUPER simple. Like, don't go guns blazing and try to add all these cool features you saw in another language or always thought about. Start stupid, stupid simple, get that working, then build on top of it.
Re: What you learn by making a new programming language
#8Yes, I might gain a better understanding of how things work. I can do that lots of ways; others may be a better use of my limited time. (For that matter, doing other things that don't give me a better understanding of how things work may be a better, more valuable use of my limited time.)
Yes, I could get a language that fits what I need better... in theory. In practice, it would be buggy, inconsistent, and incompletely implemented. It would not actually fit what I need better than existing languages.
Re: What you learn by making a new programming language
#9Every program expands until it becomes a compiler or checks mail. Emacs's sin was doing both.
Angry upvote. Maybe it's true failing though was stopping short of becoming the OS.
Re: What you learn by making a new programming language
#10No. No, I really shouldn't. Yes, I might gain a better understanding of how things work. I can do that lots of ways; others may be a better use of my limited time. (For that matter, doing other things that don't give me a better understanding of how things work may be a better, more valuable use of my limited time.) Yes, I could get a language that fits what I need better... in theory. In practice, it would be buggy,…
Checkmate.