Make prose-unified Markup the only runtime: bold segments are executable, italic is return, params can be inferred from body/prose, with no v0.2 dual mode. Migrate lib and structure/keywords golds; gate on tests/markup-v03. Co-authored-by: Cursor <cursoragent@cursor.com>
436 B
436 B
title, description
| title | description |
|---|---|
| lib/url | Parse URLs and query strings (Mid2 M7). Segment encoding stays in net.url_encode. |
parse
+ `text`
Returns {scheme, userinfo, host, port, path, query, fragment}.
> host_url_parse text=text
query_parse
+ `text`
Parse a=1&b=2 into a map; repeated keys become a list.
> host_url_query_parse text=text
query_stringify
+ `map`
> host_url_query_stringify map=map