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

Add plugin command support for nix repl #3934

Closed
wants to merge 2 commits into from
Closed

Commits on Aug 15, 2020

  1. Add plugin command support for nix repl

    - Refactor the repl core into libexpr
    - Use dependency injection via std::function to provide the completion
      functions from editline so we don't introduce extra dependencies for
      libexpr
    - Add a RegisterReplCmd analogous to RegisterPrimOp for repl commands
    - Refactor: get rid of the "ugly" global curRepl and replace it with a
      trick with closures on the nix side (that are effectively globals, but
      unique per repl user and thus not as ugly ;p)
    - Rip out readline support since there appears to be no build system
      support for it and it is thus dead code
    - Integration test this new plugin functionality
    - Document it
    lf- committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    296943a View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2020

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