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

Translate modules #7

Open
JukkaL opened this issue Sep 13, 2012 · 0 comments
Open

Translate modules #7

JukkaL opened this issue Sep 13, 2012 · 0 comments

Comments

@JukkaL
Copy link
Owner

JukkaL commented Sep 13, 2012

An Alore module with a single file (directory with a single file) should be translated to a file without a directory. Report a warning if overwriting a file.

An Alore module with multiple files should be translated into a directory with a suitably constructed __init__.py file.

For example:

m/x.alo => x.py

m/x.alo and m/y.alo => m/x.py, m/y.py and m/__init__.py, where
__init.py__ is like this:

from x import *
from y import *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant