domenic at domenicdenicola.com (2013-12-10T01:20:56.639Z)
Jason Orendorff wrote: > Implementation note: It is super obnoxious. Just to confirm, not in the backtracking/re-lexing-based-on-parser-feedback sense, right? Just on the "must implement strict checks in a parse tree walker as well as during parsing" sense? Duplicating strict mode implementation to be both during parsing, and post-processing on a parse tree, does sound bad. How bad, can you say more?
Jason Orendorff wrote: > On Mon, Nov 25, 2013 at 7:00 PM, Kevin Smith<zenparsing at gmail.com> wrote: >> > To use Waldemar's word, I wonder if that might get obnoxious: >> > >> > function(a = function(yield = function(arguments = function(eval) {}) >> > {}) {}) { >> > "use strict"; /* Doh! */ >> > } > > Implementation note: It is super obnoxious. Just to confirm, not in the backtracking/re-lexing-based-on-parser-feedback sense, right? Just on the "must implement strict checks in a parse tree walker as well as during parsing" sense? Duplicating strict mode implementation to be both during parsing, and post-processing on a parse tree, does sound bad. How bad, can you say more? /be