Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save findGlobals name index for resolving names while parsing statements #21

Open
S11001001 opened this issue Feb 19, 2015 · 0 comments
Assignees
Labels

Comments

@S11001001
Copy link
Member

<joshcough> sure. and, anything in a binding that's free is just
            a free var. but, how will the type checker know where
            to find it
<joshcough> it seems like the type checker will have to redo some
            of the work that findGlobals is doing
<joshcough> maybe its not that big of a deal.
<joshcough> s11001001: i guess i'll just close 15. it seems to be
            working and tested for terms and types.
<S11001001> joshcough: Actually, this is a good point.
<S11001001> joshcough: Totally, 15 is done.
<S11001001> joshcough: But now maybe we should consider dataflow.
<joshcough> yeah it seems like we are throwing data away here
<S11001001> joshcough: basically findGlobals computes NAMEBLOB,
            an index of types and terms for each imported module
<S11001001> joshcough: it uses that only to compute explicits
<S11001001> joshcough: but we can use that for linking names
            while parsing statements
<S11001001> joshcough: so maybe we should separate the phases
<S11001001> joshcough: findGlobals can *also* filter the NAMEBLOB
            so that the statements only see the names that should
            be imported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants