News for hackers. Stuff that matters.
Re:Plan to throw one away by normac on Tuesday December 15, 2015 @04:41PM (#10740678)
That's pretty neat. Clearly some level of parsing needs to happen before run time, or else it couldn't even balance braces to know where the function body ends. So it must be that it parses the function body just enough to figure out where it starts and ends, then does a complete parse at runtime (probably building off the results from the first stage).
Re:Plan to throw one away by munificent on Wednesday December 16, 2015 @01:45PM (#10746276)
> or else it couldn't even balance braces to know where the function body ends

That's literally all it does. It tokenizes and counts braces.