Skip to content

Support for package imports #157

@HashLDash

Description

@HashLDash

A package can be composed of several modules organized into folders. For example:
wui
|_ main.w
|_ widgets.w
|_ graphics.w
|_ inputs.w
|_ sounds.w
|_ assets
|_ fonts
|_ ...

We could import wui like:

import wui
from wui.graphics import drawRectangle
from wui.widgets import *

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions