-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
!: for line hints in Hoon
You can get a Hoon AST with !,
!, *hoon foo:bar
!, *hoon !: foo:bar
=> bar=foo=3 != foo:bar
=> bar=foo=3 != !: foo:bar
gives
[ 11
[1.953.460.339 1 [1.685.027.454 1.702.060.386 164.211.365.211.807.533.246.112.486.363.563.715.802.242.123.887.381.261.228.978.814 0] [1 24] 1 31]
11
[1.953.460.339 1 [1.685.027.454 1.702.060.386 164.211.365.211.807.533.246.112.486.363.563.715.802.242.123.887.381.261.228.978.814 0] [1 28] 1 31]
0
1
]
And you can see that
> `@t`1.953.460.339
'spot'
which is the name of the location type, which specifies a file name and file location
And the list that follows is a file:
> `tape``(list @)`[1.685.027.454 1.702.060.386 164.211.365.211.807.533.246.112.486.363.563.715.802.242.123.887.381.261.228.978.814 ~]
"~zodbase~2023.3.10..00.39.50..8a0f"
And then comes the location
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request