Adding dragon emoji as semicolons in node.js or the typescript compiler: https://blog.angularindepth.com/instead-of-semicolons-what-if-you-could-code-with-dragons-df5d0a4ef4ee
Nice post showing that working with programming language implementations need not be scary!
Related Posts
I made some changes to a node express project that I haven't touched in almost five years. I was pleasantly surprised that I only needed to update one dependency to get it working again!
(It was sqlite3, which is a native dependency using node-gyp.)
I've added syntax highlighting to the prompt of my programming language!
It's not strictly necessary, but it's nice to have. It caught a bug with lexing incomplete string literals too.
I'm adding a += operator to my programming language, because writing `x = x + 1` is tedious.
This opens the tricky design question of which operators should support this. Is += and -= sufficient, or do you expect things like >>= and **= to be available?