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

Interactive Prompt Enhancement #68

Open
13 tasks
cindytsai opened this issue Jan 19, 2023 · 0 comments
Open
13 tasks

Interactive Prompt Enhancement #68

cindytsai opened this issue Jan 19, 2023 · 0 comments
Labels
enhancement New feature or request pri-future Priority: future project

Comments

@cindytsai
Copy link
Collaborator

cindytsai commented Jan 19, 2023

Interactive Prompt Enhancement

Some issues known or enhancement to add while implementing reloading script feature (#60). These will be fixed in the later update. Or we probably can ignore it when we have done supporting Jupyter Notebook access.

Known Issues

  • If one rank failed and the other ranks are calling collective functions, then this leads to a deadlock.
    • Python coroutine (?)
    • Each rank create another thread to handle failure from other ranks.

Enhancement

  • Colorful python prompt terminal
  • Smart indent
  • Able to change previous lines inputs or use arrow keys to move between characters.
  • Drop unused keys in builtin. (ex: exit())
  • Make result from directly input in prompt print in order.
  • Assigning a functor directly to a variable through interactive prompt cannot be detected by libyt, since it create an empty space for code to run and detect. (Not sure do I really need this)
    • (This can't be detect) Ex: f = np.random.rand
    • (This can be detect)
      def f():
          return np.random.rand
      
  • Cannot use different triple quotes when inputting function arguments in yt_run_FunctionArguments or %libyt run func args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pri-future Priority: future project
Projects
Status: To do
Development

No branches or pull requests

1 participant