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 help function in the REPL #7

Open
oubiwann opened this issue Feb 28, 2019 · 2 comments
Open

Add help function in the REPL #7

oubiwann opened this issue Feb 28, 2019 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@oubiwann
Copy link
Member

      Docs: https://github.com/zylisp/zylisp/wiki
   Project: https://github.com/zylisp/zylisp
Function    Cycle through <TAB>  to get function-completion suggestions;
Completion: <SHIFT><TAB> to move backwards through the suggestions
      Exit: Control+D or (exit) or (quit)
@oubiwann
Copy link
Member Author

I've added this text, but haven't added a (help) function yet ... need to figure out how to update the registered commands from outsize the zcore package ...

@oubiwann oubiwann added this to the 6.1.0 milestone Feb 28, 2019
@oubiwann oubiwann added the enhancement New feature or request label Feb 28, 2019
@glycerine
Copy link

need to figure out how to update the registered commands from outsize the zcore package ...

To register functions, call AddFunction(), defined here
https://github.com/zylisp/zygomatic/blob/master/src/github.com/zylisp/zcore/environment.go#L492

See https://github.com/glycerine/zygomys/wiki/Go-API#adding-go-functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants