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

[Docs] A few standalone examples for prism, say 3 to 5? #2625

Open
rubyFeedback opened this issue Mar 25, 2024 · 0 comments
Open

[Docs] A few standalone examples for prism, say 3 to 5? #2625

rubyFeedback opened this issue Mar 25, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@rubyFeedback
Copy link

Hey there Kevin,

If you ever have some spare time, do you think you could add a few standalone examples
for using prism? I mean specifically just using prism itself to see how it could be used.

Right now the documentation mentions various other projects that use prism. This is
fine. What I am looking for, though, is how prism could actually be used, from within
.rb files itself.

These examples do not have to be complicated! Really simple examples are fine. They
also don't have to be huge examples either, say 3-20 lines of code should suffice -
this is really just to get a feel for how to use prism itself, such as via a FAQ like
"how to parse this code stored in that example1.rb file". (And also, to compare how
the old way worked, versus prism's new way - but example .rb files are more
important. I would like to see what has changed from a practical point of view here.)

Anyway, thanks for reading this issue request.

@kddnewton kddnewton added the documentation Improvements or additions to documentation label Mar 25, 2024
@kddnewton kddnewton added this to the Long-term milestone Mar 27, 2024
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
Projects
None yet
Development

No branches or pull requests

2 participants