RFC 3986 URI Parsing

Summary

Implement RFC 3986 compliant URI parsing with zero-copy slicing.

Status

✅ COMPLETED

Implementation

  • Parse scheme component (Section 3.1)
  • Parse authority component (Section 3.2)
  • Parse userinfo, host, port
  • Parse path component (Section 3.3)
  • Parse query component (Section 3.4)
  • Parse fragment component (Section 3.5)
  • Support IPv4 addresses
  • Support IPv6 addresses (bracketed notation)
  • Zero-copy parsing (slices into input)

Files

  • src/uri.zig - Core parsing implementation