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

Docstrings? #5

Open
davep opened this issue Apr 3, 2012 · 5 comments
Open

Docstrings? #5

davep opened this issue Apr 3, 2012 · 5 comments

Comments

@davep
Copy link

davep commented Apr 3, 2012

Less of an issue, more of a suggestion.

Seeing the help text slowly grow, I'm wondering if it might be an idea to add emacs-a-like docstrings to the system. Not only would that keep the documentation with each function, it'd also allow the help command deliver help on specific functions and variables.

@AlexNisnevich
Copy link
Owner

This is a good idea, but it will probably have to wait until actual strings (as opposed to quoted lists) are supported.

@davep
Copy link
Author

davep commented Apr 3, 2012

Ahh, good point, I didn't think about that. :)

@AlexNisnevich
Copy link
Owner

I've just added support for strings in the latest commit. It might still be buggy, but something like

(js-apply 'alert "Hello world!")

now works as expected.

@davep
Copy link
Author

davep commented Apr 6, 2012

Nice. This means that there's now enough for me to try something I've been wanting to try.

Meanwhile, do you want any and all string bugs reported, or is it a little too early for that?

@AlexNisnevich
Copy link
Owner

Go for it!

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

No branches or pull requests

2 participants