|
|
|
|
|
by mdaniel
443 days ago
|
|
> Its semantics can understood in 5 minutes. Your definition of "semantics" must be different from mine, or you perhaps haven't seen https://javascriptwtf.com/ (linked in a sibling comment) Your comment actually made me wonder whether those cited artifacts were implementation bugs or actually in the specification and ... lol, this shit reminds me of people who put comments above functions that just restate the function's name: https://tc39.es/ecma262/2024/#sec-addition-operator-plus > Writing an interpreter or compiler for it would be easily within reach of an undergraduate student Surely you don't really believe that? Or is the rest of the sentence "... eventually, over the course of their undergraduate career" The 15th edition of the standard is 816 pages and now includes specifying the Memory Model. What I suspect you mean is "could write a parser for the 1st edition spec from 1997" |
|
And yes I do believe that writing an interpreter for Javascript would be no more difficult than doing one for Scheme (which I had to do as a student) - the parser would be more difficult admittedly.