shrub/pkg/arvo/sys
fang db899ce09f
hoon: add ,/typed/path syntax
Prefixing a path with a com will cause the path to be interpreted as a `$pith`,
aka a typed path. Instead of interpreting every element as a string, we use
hoon's atom syntaxes to read the values, and tag them with appropriate auras.

For example, `,/hi/5/0x6` becomes `[[%tas %hi] [%ud 5] [%ux 0x6] ~]`.

Dynamic elements via `()` and `[]` is also supported, and may optionally be
tagged with `aura+(etc)` syntax. For example, `,/next/ud+[+(1)]`.

Could _maybe_ be refactored to use `+nuck`, but we'd need to wrestle the output,
and we're a little stricter here anyway.

This shadows existing `,/some-wing` syntax, which... presumably does something,
but is not in active use anywhere. We might consider removing that syntax.

Eventually, we probably want this to be the primary urbit-native path type.
Invalidating existing path syntax is very invasive though, so for now we
piggy-back on "com changes the parsing mode" for a less disruptive addition.
2022-06-03 14:10:31 +02:00
..
vane Merge pull request #5812 from urbit/m/eof-syntax-error 2022-05-31 16:58:46 +02:00
arvo.hoon arvo: reduce priority of lifecycle printfs 2022-05-14 23:59:21 -07:00
hoon.hoon hoon: add ,/typed/path syntax 2022-06-03 14:10:31 +02:00
lull.hoon clay: add logging commands 2022-05-20 17:01:50 -07:00
zuse.hoon Merge remote-tracking branch 'origin/lf/signed-js-parser' into philip/tomb 2022-05-14 20:53:35 -07:00