diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-10-17 16:00:21 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-10-17 16:00:21 -0400 |
| commit | d43103c8d6e86b46006eb770fbb158aa35e01612 (patch) | |
| tree | cf96b6841122137e42c8eab8c145717754acf5a9 | |
| parent | 5c6c1c73832759cfa1e89705a26b4f90b140a819 (diff) | |
Pass path via ⍎ left argument in dzref
| -rwxr-xr-x | dzref | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -115,9 +115,12 @@ _withRef ← ˙ lf ← @+10 pre ← E_isdef◶E_proc‿E_redef¨ lf((⊢-˜¬×+`)∘=⊔⊢)impl ExecFile←{ - path ← "dot_path←" ∾ '"' (⊣∾⊣∾˜(1+=)/⊢) (∨`⌾⌽'/'=𝕩)/𝕩 - src ← "•path"•_r_"dot_path"∘E_proc¨ •LNS 𝕩 - Raw ∾ ∾⟜lf¨ path <⊸∾ src +# path ← "dot_path←" ∾ '"' (⊣∾⊣∾˜(1+=)/⊢) (∨`⌾⌽'/'=𝕩)/𝕩 +# src ← "•path"•_r_"dot_path"∘E_proc¨ •LNS 𝕩 +# Raw ∾ ∾⟜lf¨ path <⊸∾ src + #path ← "dot_path←" ∾ '"' (⊣∾⊣∾˜(1+=)/⊢) (∨`⌾⌽'/'=𝕩)/𝕩 + src ← E_proc¨ •LNS 𝕩 # "•path"•_r_"dot_path"∘ + ⟨⟨⟩,"",(∨`⌾⌽'/'=𝕩)/𝕩⟩ Raw ∾ ∾⟜lf¨ src } X↩Raw∘E_proc _withRef ↩ {𝕗∘E_proc} |
