Skip to content

Interface for tokenize module #2926

@ARF1

Description

@ARF1

Since micropython presumably already has a built-in lexer, how difficult / size-costly would it be to expose this in a way suitable to allow the implementation of the tokenize module from the python standard library for micropython?

The reason for my request is as follows:
I am still somewhat disappointed that I cannot use help(my_func) to be reminded of the correct way to use a function. And while clearly the CPython approach to the function help functionality is unsuitable for micropython, the tokenize module would allow a pure-python implementation that mimics this behaviour by parsing the plain-text code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions