Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Add recursive descent expansion of ksx "import" and "from x import y" statements #7

@LeonardMH

Description

@LeonardMH

Currently, if you import a file that imports another file, only the first file will be included, this is functionality breaking behavior and needs to be fixed ASAP. Every import and from x import y statement should be expanded recursively until there are no more statements to expand.

I can easily see this leading to duplicate imports though, so that needs to be considered, it would be a shame if the 'minifier' tool ended up with exploding file sizes because of duplicate imports.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingksx-compileRelated to the ksx compile tool ksx.py

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions