From 13b8b337a09c6593c1baa1f705a01e106f21ba28 Mon Sep 17 00:00:00 2001 From: Sidnym Ladrut Date: Wed, 6 Jul 2022 05:29:23 +0000 Subject: [PATCH] dojo: re-add support for /=, /% runes --- pkg/arvo/app/dojo.hoon | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pkg/arvo/app/dojo.hoon b/pkg/arvo/app/dojo.hoon index 8ecbec94f..dd4d71152 100644 --- a/pkg/arvo/app/dojo.hoon +++ b/pkg/arvo/app/dojo.hoon @@ -174,8 +174,10 @@ :: ;~ pfix fas ;~ pose - (parse-variable (cold %sur hep) ;~(pfix gap (parse-ford %sur))) - (parse-variable (cold %lib lus) ;~(pfix gap (parse-ford %lib))) + (parse-variable (cold %sur hep) ;~(pfix gap (parse-cables %sur))) + (parse-variable (cold %lib lus) ;~(pfix gap (parse-cables %lib))) + ;~(pfix tis gap (parse-variable sym ;~(pfix gap parse-path))) + ;~(pfix cen gap (parse-variable sym ;~(pfix gap parse-mark))) == == :: @@ -193,7 +195,7 @@ (stag %show (cook $?(%1 %2 %3 %4 %5) (cook lent (stun [1 5] wut)))) == :: - ++ parse-ford + ++ parse-cables |= base-path=@ta %- cook :_ (most ;~(plug com gaw) parse-cable) |= cables=(list cable:clay) @@ -213,6 +215,16 @@ (cook |=([face=term tis=@ file=term] [`face file]) ;~(plug sym tis sym)) (cook |=(a=term [`a a]) sym) == + :: + ++ parse-mark + %- cook :_ ;~(pfix cen sym) + |= mark=@tas + [0 %dv -.dir `path`[~.mar mark ~]] + :: + ++ parse-path + %+ cook |=(=path [0 %dv -.dir path]) + ;~(pfix fas (more fas sym)) + :: ++ parse-source (stag 0 parse-build) ++ parse-build %+ knee *dojo-build |. ~+