loading...

Have you ever tried implementing a language spec?

daniel13rady profile image Daniel Brady ・1 min read

Recently I was reading through Safia(@captainsafia )'s post, where they dive into the JavaScript spec to discuss the implementation of the Array.prototype.filter function:

Reading through the algorithm, I felt the urge to implement it. I guess I'm just programmed that way 😆

I didn't, though. I've thought many times that it would be a fun challenge to implement a language spec, and a great way to learn about language design and the choices made by the creators of my tools. But I still have never tried.

If you've tried, what was your experience like?
If you haven't tried, why does or doesn't it sound like fun? 🤔

(I'm asking specifically about implementing an existing language spec; creating your own sounds fun, too, but not the topic I'm introducing for discussion in this post 😄 another time, perhaps!)

Posted on by:

daniel13rady profile

Daniel Brady

@daniel13rady

Success is something you tell your friends about, but failure is what you learn from.

Discussion

pic
Editor guide