4 ms·
Reading the spec will convey many useful details. If you truly want to master them, though, implement the spec and pass the conformance suite. If Fabrice Bella
by RodgerTheGreat 7y ago
Reading the spec will convey many useful details. If you truly want to master them, though, implement the spec and pass the conformance suite.
If Fabrice Bellard can do it, in C, with no dependencies, you can do it in whatever language you're already comfortable with, using the standard library. It's simply a matter of sustained effort and focus over time.
- tlarkworthy 7y agoYes I discovered so much unexpected combinations of features after implementing a Java parser. Totally pointless for actually writing Java though, so I question the motivation here. Just coz something is permitted in the language doesn't mean you should. I bet the corners of JavaScript are deep. Mastering them is a party trick, rather than something practical.
- mras0 7y agoThis is a good idea, but I'd be selective about it. There's a lot of tedious and uninteresting (IMO) stuff in there, like https://tc39.es/ecma262/#sec-array.prototype.splice https://tc39.es/ecma262/#sec-array.prototype.splice or how unicode is handled in the source text. But looking into the details of how object prototypes and properties really work is essential for getting a good grasp of the language.