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

Bring JSON parser on par with circe-fs2 #491

Merged
merged 11 commits into from
Jul 17, 2023
Merged

Bring JSON parser on par with circe-fs2 #491

merged 11 commits into from
Jul 17, 2023

Commits on Jun 26, 2023

  1. Abstract over accumulator chunk

    This abstraction allows to create chunks of various types out of an
    input stream. One possible accumulator is the `Token` accumulator which
    generates the token stream.
    
    Leveraging this abstraction, we can then implement a pipe that builds
    directly AST values instead of having intermediate `Token`
    representation.
    satabin committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    1009464 View commit details
    Browse the repository at this point in the history
  2. Add an accumulator that builds an AST directly

    Inspired by the `Facade` abstraction from jawn, we can build the AST
    directly, without emitting intermediate tokens, which makes it faster.
    satabin committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    ecbd900 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ba90b3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c29e68 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2023

  1. Configuration menu
    Copy the full SHA
    bf9860a View commit details
    Browse the repository at this point in the history
  2. Document new parse pipe

    satabin committed Jul 2, 2023
    Configuration menu
    Copy the full SHA
    2244e09 View commit details
    Browse the repository at this point in the history
  3. Fix workflow

    satabin committed Jul 2, 2023
    Configuration menu
    Copy the full SHA
    3f3abbb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d8edd7 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Configuration menu
    Copy the full SHA
    814845d View commit details
    Browse the repository at this point in the history
  2. Make keyword acc function clearer in name and type

    The fact that it now returs `Unit` makes it clearer it is side
    effectful.
    satabin committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    037c1d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    66f34e8 View commit details
    Browse the repository at this point in the history