summaryrefslogtreecommitdiff
path: root/.agents
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 18:29:28 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit00298cc24e12432a4120f4efb68728c008d9620f (patch)
tree00b877bf32b2490191b7b797ca69491d2b9c0572 /.agents
parent805197e5955a86afbb47bdb482a9ebb7cfa1d171 (diff)
downloadpardes-00298cc24e12432a4120f4efb68728c008d9620f.tar.gz
pardes-00298cc24e12432a4120f4efb68728c008d9620f.zip
addr takes line:col, as Look's file:12:5 does
A script that knows a line and column had to count bytes to write #n. `12:5` is now the point at line 12, column 5 (bytes from 1, clamped to the line's end and snapped to a character's start, as Look's cursor is), and it composes like any simple address. A pardes extension, documented as one; sam reads it as a syntax error. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to '.agents')
-rw-r--r--.agents/skills/pardes-9p/SKILL.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/.agents/skills/pardes-9p/SKILL.md b/.agents/skills/pardes-9p/SKILL.md
index 302223e5..55df3091 100644
--- a/.agents/skills/pardes-9p/SKILL.md
+++ b/.agents/skills/pardes-9p/SKILL.md
@@ -170,7 +170,8 @@ Truncating `data` is pardes's own (acme ignores OTRUNC and always inserts).
`addr`, `dot` and `limit` each read the pair of offsets they also accept, which
is why copying one onto another is all that acme's `addr=dot`, `dot=addr` and
`limit=addr` ever were; a write may also be an address expression (`#0,#5`,
-`/pattern/`, `2+1`), whose regexps are mvzr's searched as sam searches:
+`/pattern/`, `2+1`, or pardes's `12:5`: line 12, byte column 5, composing as
+`12:5,14:1`), whose regexps are mvzr's searched as sam searches:
`^`/`$` match at any line's start and end, `.` and `[^...]` never match a
newline, the leftmost match wins (the first alternative there, not the
longest). An expression is evaluated from the current address (the last one