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

macro namespace voodoo #434

Closed
paultag opened this issue Jan 12, 2014 · 3 comments
Closed

macro namespace voodoo #434

paultag opened this issue Jan 12, 2014 · 3 comments
Labels

Comments

@paultag
Copy link
Member

paultag commented Jan 12, 2014

(import string)
(print string)

will work in a file, but not the REPL due to how the compiler shims in core stuff.

wat do.

One idea is to make the internals smarter, and don't blindly trust the core name, check for assignment, and do that, but this means we're doing static analysts, and stuff altered at runtime will break in a bad way.

What do? D:

@paultag
Copy link
Member Author

paultag commented Jan 12, 2014

Always import core stuff at the top of any compile session, and move it out of the expression compile?

@paultag
Copy link
Member Author

paultag commented Jan 12, 2014

IDEAS WE NEED IDEAS

@Kodiologist
Copy link
Member

#791 is a duplicate of this, but I'll close this one, sincer there's more discussion over there.

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