News for hackers. Stuff that matters.
Re:Is eval evil? Just-in-time compiling by kccqzy on Monday November 19, 2018 @01:13PM (#18488365)
What if stuff is `} //`?

Basically you are trying to say we want to discover some kind of semantic structure from just a prefix of the textual form of the code. We can do a partial parse and see what's possible right after the string literal; and if there's only one possibility, we JIT it. But without full code, we can't really do much JIT at all.

Re:Is eval evil? Just-in-time compiling by pizlonator on Monday November 19, 2018 @02:12PM (#18488853)
You just speculate that this doesn’t happen, and bail if it does.