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

Create documentation site #42

Open
vigoo opened this issue Mar 1, 2022 · 2 comments
Open

Create documentation site #42

vigoo opened this issue Mar 1, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@vigoo
Copy link
Collaborator

vigoo commented Mar 1, 2022

No description provided.

@vigoo vigoo added the documentation Improvements or additions to documentation label Mar 1, 2022
@aaditmshah
Copy link

Why is there no comprehensive documentation for this library? The ZIO parser home page, https://zio.dev/zio-parser/, just links to a YouTube video, https://www.youtube.com/watch?v=DEPpL9LBiyA, but video tutorials are not substitutes for proper documentation. I shouldn't have to sit through an hour long video just to understand the API of a library. It's been over a year since this issue was created but the needle hasn't moved at all.

@afsalthaj
Copy link
Contributor

afsalthaj commented Mar 28, 2023

@aaditmshah

I think while documentation site is being created, you could try some examples which can help you use this library. Here are some of the ways that I use.

https://github.com/zio/zio-config/blob/fix_typesafe/typesafe/shared/src/main/scala/zio/config/typesafe/HoconParser.scala

or

https://github.com/zio/zio-config/blob/series/4.x/xml/shared/src/main/scala/zio/config/xml/experimental/XmlParser.scala

One is an XML parser, and the other is sort-of-a-json parser, and they are concise enough to act as a quick start.

PS: If you are already know something called Syntax in this library, then note that the above examples don't use it yet. However, it is still useful in my opinion.

Also, zio-parser, at its core present to the user, something called parser combinators. If you are comfortable with parser combinator in general (so many examples in the wild), you should be comfortable implementing anything using zio-parser.

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

3 participants