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

document help function in jlox REPL #25

Open
zxul767 opened this issue Dec 5, 2022 · 0 comments
Open

document help function in jlox REPL #25

zxul767 opened this issue Dec 5, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation p1

Comments

@zxul767
Copy link
Owner

zxul767 commented Dec 5, 2022

there is now a handy function help which can be passed any value and it will print whatever help is available. for example:

>>> help(sin)
{ sin(n:number) -> number } : <built-in function>

>>> help("hello".starts_with)
{ starts_with(prefix:str) -> bool } : <built-in method>

we should advertise it in the initial help banner of the REPL as well as in the READMEs

@zxul767 zxul767 added documentation Improvements or additions to documentation p1 labels Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation p1
Projects
None yet
Development

No branches or pull requests

1 participant