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

Idea dump for 3.x #18

Open
Technologicat opened this issue Dec 28, 2020 · 0 comments
Open

Idea dump for 3.x #18

Technologicat opened this issue Dec 28, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@Technologicat
Copy link
Owner

Technologicat commented Dec 28, 2020

  • Add the functionality of clearcaches.py as a command-line option to macropython. Done in 07612fc.

    • It's a generally useful tool; even the docs already say there are some special use cases where clearing bytecode caches is useful.
    • See macropython -c dir (equivalent: macropython --clean dir), or for a dry run, macropython -c dir -n (equivalent: macropython --clean dir --dry-run).
    • clearcaches.py is now gone. (No major version bump, because it wasn't installed anyway.)
  • At the project top-level folder, add a script to clear bytecode caches, then run all tests and demos, and then run them again (to test also behavior with cached bytecode). Will be done in 3.2.0, see issue Final touches for 3.2.0 #23.

  • Generalize functions that currently assume a single node with a body attribute.

    • At least most of them could work also when the input is a list of AST nodes.
    • To find them, grep the codebase for "Primarily meant to be called".
  • Documentation:

    • Multiphase: compiler feature, not importer.
    • Rename "the import algorithm" to something semantically sensible; it has to do with compilation, not importing.
@Technologicat Technologicat added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 28, 2020
@Technologicat Technologicat added this to the 3.1.0 milestone Dec 28, 2020
@Technologicat Technologicat modified the milestones: 3.1.0, 3.2.0 Feb 11, 2021
@Technologicat Technologicat changed the title Idea dump for 3.1.0 Idea dump for 3.2.0 Feb 11, 2021
@Technologicat Technologicat changed the title Idea dump for 3.2.0 Idea dump for 3.3.0 Apr 7, 2021
@Technologicat Technologicat modified the milestones: 3.2.0, 3.3.0 Apr 7, 2021
@Technologicat Technologicat changed the title Idea dump for 3.3.0 Idea dump for 3.x Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant