ECMAchine
ECMAchine copied to clipboard
Docstrings?
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.
This is a good idea, but it will probably have to wait until actual strings (as opposed to quoted lists) are supported.
Ahh, good point, I didn't think about that. :)
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.
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?
Go for it!