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

feat(repl): improve support of multi-line statements #1129

Merged
merged 6 commits into from
Nov 7, 2023

Commits on Sep 15, 2023

  1. feat(repl): improve support of multi-line statements

    This is a followup of gnolang#978. Instead of starting in multi-line mode prior
    to submit, the line is parsed, and new inputs are appended to it as long
    as the statment is not complete, as detected by the Go scanner.
    
    This is simpler and more general than previous attempt. The secondary
    prompt is "...", different from primary "gno>", similarly to many REPL
    programs (node, python, bash, ...).
    
    The "/editor" command is removed as not useful anymore. Note also
    that it is now possible to exit using Ctrl-D.
    mvertes committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    09a7042 View commit details
    Browse the repository at this point in the history
  2. typo in comment

    mvertes committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    7f05c3a View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    db9c114 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Configuration menu
    Copy the full SHA
    e930ff5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd0b714 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    f5cda85 View commit details
    Browse the repository at this point in the history