shrub/pkg
fang 6f6fee2b89
hoon: in +ape, make zero a plain atom
In the `+ape` parser constructor, we were providing `0` as the parsing result
for the zero character. Hoon syntax dictates this is a `@ud` however,
resulting in a parsing output type of `?(@ud etc)`. Since `+ape` is commonly
used for parsing atoms of various kinds, one might end up with a result
of `?(@ud @)`, which would fail to nest directly under, say, `@uv`, requiring
parsers to add a casting step.

Here, we simply cast the zero result to `@` to make it perfectly generic. This
should alleviate the need for a casting step in parsers that need to fit their
output into a specific aura.

(The output type in the common case (ie, `+hex:ag`, `+viz:ag`) is now `?(@ @)`,
which is still somewhat strange, but should have better ergonomics.)

Since `@` can be used in any place `@ud` is accepted, this is a non-breaking
change.
2023-03-04 18:02:33 +01:00
..
arvo hoon: in +ape, make zero a plain atom 2023-03-04 18:02:33 +01:00
autoprop autoprop: properly keep track of runtime version 2023-02-18 17:20:14 +01:00
base-dev Merge pull request #6336 from ashelkovnykov/eval-ted 2023-02-17 09:56:06 -05:00
herb Revert "Revert "Merge naive/aggregator into poprox/naive-tests"" 2021-08-19 16:09:28 -07:00
interface webterm: simpler printf rendering 2023-01-28 00:34:03 +01:00
landscape Filter out DMs 2023-02-17 09:38:07 -05:00
npm http-api: remove changes that went in in PR #6084 2023-02-13 14:38:48 +02:00
webterm webterm: v1.1.1 2023-02-06 19:19:00 +01:00
symbolic-merge.sh pkg/symbolic-merge.sh from @Fang- 2021-08-30 20:19:16 +03:00