Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasufell/file-uri
Haskell library for parsing RFC 8089 style file URIs
https://github.com/hasufell/file-uri
haskell parser rfc3986 rfc8089
Last synced: 29 days ago
JSON representation
Haskell library for parsing RFC 8089 style file URIs
- Host: GitHub
- URL: https://github.com/hasufell/file-uri
- Owner: hasufell
- License: other
- Created: 2024-01-19T05:24:45.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-11-15T05:53:26.000Z (about 1 month ago)
- Last Synced: 2024-11-15T06:28:52.095Z (about 1 month ago)
- Topics: haskell, parser, rfc3986, rfc8089
- Language: Haskell
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# file-uri [![Hackage](https://img.shields.io/hackage/v/file-uri.svg)](https://hackage.haskell.org/package/file-uri) [![GitHub Build Status](https://github.com/hasufell/file-uri/workflows/Haskell%20CI/badge.svg)](https://github.com/hasufell/file-uri/actions?query=workflow%3AHaskell%20CI)
This Haskell library parses `file:///foo/bar` URIs based on RFC [8089](https://www.rfc-editor.org/rfc/rfc8089.html),
including windows filepaths. It's a subset of [RFC3986](https://www.rfc-editor.org/rfc/rfc3986),
but is better at interpreting the filepaths (especially on windows).Part of the code is based on [uri-bytestring](https://hackage.haskell.org/package/uri-bytestring)
from Soostone.