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

Add ZIP-321 Parsing support #26

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Add ZIP-321 Parsing support #26

merged 1 commit into from
Mar 5, 2024

Conversation

pacu
Copy link
Owner

@pacu pacu commented Dec 27, 2023

closes #25

This Feature adds ZIP-321 parsing support to the library.

It uses Kudzu, a parser combinator library inspired in Parsecs.

The ZIP-321 provides no address validation (yet). This is left to the caller to provide lambdas that do so as
they please.

- parse leading address
- Create an AddressTextParser that can identify an address token
- paramindex subparser
- Optionally indexed Parameters
- raw querykeys and values
- Query Keys into Param and UInt
- Query Parameters parsing
- catching dup params and fixed Stack Overflow error
- tests for duplicate param detection
- Map To Payments
- Parser Result
- ZIP-321 parsing complete

CHANGELOG.md and README.md updates
detekt
@pacu pacu merged commit 7686df5 into main Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ZIP-321 URI Parsing Support
1 participant