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

Create Custom Python REPL (Interactive Interpreter) #23091

Closed
anthonykim1 opened this issue Mar 18, 2024 · 2 comments
Closed

Create Custom Python REPL (Interactive Interpreter) #23091

anthonykim1 opened this issue Mar 18, 2024 · 2 comments
Assignees
Labels
area-repl feature-request Request for new features or functionality

Comments

@anthonykim1
Copy link

anthonykim1 commented Mar 18, 2024

We need custom Python REPL/interactive interpreter that would communicate to TypeScript side whether that is a Notebook controller for Python extension or some other REPL controller in the future.

Referenced in: #23029

First need to build Python REPL that processes user input and output , then need to build communication that goes in/out of a simple node project.

Once we verify there is fine communication between custom Python REPL and node/TypeScript side of things, we can embed these code into Python extension and create a notebook controller so that custom Python REPL can be used as a kernel to be fed into interactive window for users to experiment.

@anthonykim1 anthonykim1 added feature-request Request for new features or functionality area-repl labels Mar 18, 2024
@anthonykim1 anthonykim1 self-assigned this Mar 18, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Mar 18, 2024
@anthonykim1 anthonykim1 removed the triage-needed Needs assignment to the proper sub-team label Mar 18, 2024
@anthonykim1
Copy link
Author

How to communicate to Node/TypeScript side: Stdin/out, socket, named pipe.
Need to be able to call Python script from node app. Using spawn and child_process we can call Python script

@anthonykim1
Copy link
Author

Completed via: #23235

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-repl feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

1 participant