Eli Friedman 26159b59ee First draft of some code to make the general unqualified lookup able to perform lookup into local scopes. Normally, name-binding doesn't need this because the parser can resolve references to locals, but we need this sort of lookup to handle cases involving local types. It's also likely this will be generally useful for tools consuming the AST, typo-correction, etc.
We probably need to add some sort of data structure to represent this information, but as a proof of concept the current code appears to work.  I'm still working out how to make sure the parser doesn't prematurely bind names and how to make name-binding use it where appropriate (and avoid it when we don't need it, because no matter how efficient we make it, it will still be relatively expensive).



Swift SVN r2112
2012-06-02 01:26:58 +00:00
2012-05-31 16:57:15 +00:00
2012-05-29 23:16:34 +00:00
2011-08-12 20:25:30 +00:00
Description
The Swift Programming Language
1.5 GiB
Languages
C++ 48.2%
Swift 47.3%
Python 1.7%
CMake 1.1%
C 0.7%
Other 0.9%