serwy/idlex

Integrate with micropython REPL

Opened this issue · 2 comments

Is there a way for idlex to integrate with micropython's REPL? If so, what must i do?

What is the extension interface for idlex like? Can you direct me to a document explaining idlex's extension interface?

How does Idlex identify which python version it should load up? How can idlex be used to run a micropython script?

Thank you.

serwy commented

IdleX, being built on IDLE, inherits its methods for launching the subprocess and redirecting its streams to and from the GUI front-end. Look at the ModifiedInterpreter class in PyShell.py to see how IDLE launches the subprocess and look at run.py to see what the subprocess runs.

There isn't much documentation on IDLE internals itself.

@serwy Thank you for the direction. I will have a look and keep you posted.

BTW, I like to compliment you for idlex. Great work!