hoon: enable scry in +mule

Enables .^ in +mule (statically-typed virtualization), by specifying a
scry-handler function that punts the namespace read to a higher
virtualization layer via virtual-nock (mock) 12.
This commit is contained in:
Joe Bryan 2019-08-28 15:55:13 -07:00 committed by Jared Tobin
parent a6272a97a8
commit d461ec40b0
No known key found for this signature in database
GPG Key ID: 0E4647D58F8A69E4
4 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1825ad5db5c696f36b7333ca906401a505ecc3244ec19f5dcf80cf7857a79065
size 11221938
oid sha256:acd24dbae33439a2a2d6ad1658dd6a8a8aebd153ba19358340bd3a68febd3d03
size 11104450

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:baf4d3f4c74ad190a3548232cf9caa40c1433cc29070136ceeeea5fa7b99a004
size 6212767
oid sha256:933d3437fa16c793ebd627d6d9121c47cef7ea28320ea5c4dc2fee5e14c3fd49
size 6114638

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ccadeb320517eb506679198684eae00d0d37d28554de5c29f6de4a02b52b22ae
size 13599425
oid sha256:a54260504e4f96c64241e5a9d3df496d786b98a883a7d923ba824bfd0fc5f0dc
size 13679971

View File

@ -6470,7 +6470,7 @@
++ mute :: untyped virtual
|= taq/_=>(~ ^?(|.(**)))
^- (each * (list tank))
=+ ton=(mock [taq %9 2 %0 1] |=({* *} ~))
=/ ton (mock [taq %9 2 %0 1] |=((pair) ``.*(~ [%12 1+p 1+q])))
?- -.ton
$0 [%& p.ton]
$1 [%| (turn p.ton |=(a/* (smyt (path a))))]