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>
41 lines
518 B
Markdown
41 lines
518 B
Markdown
---
|
|
title: lib/path
|
|
description: Path algebra (Mid M2). No I/O; OS separators.
|
|
---
|
|
|
|
## join
|
|
+ `a`
|
|
+ `b`
|
|
|
|
*> host_path_join a=`a` b=`b`*
|
|
|
|
## split
|
|
+ `path`
|
|
|
|
*> host_path_split path=`path`*
|
|
|
|
## file_name
|
|
+ `path`
|
|
|
|
*> host_path_file_name path=`path`*
|
|
|
|
## parent
|
|
+ `path`
|
|
|
|
*> host_path_parent path=`path`*
|
|
|
|
## extension
|
|
+ `path`
|
|
|
|
*> host_path_extension path=`path`*
|
|
|
|
## normalize
|
|
+ `path`
|
|
|
|
*> host_path_normalize path=`path`*
|
|
|
|
## is_absolute
|
|
+ `path`
|
|
|
|
*> host_path_is_absolute path=`path`*
|