From 5c6c1c73832759cfa1e89705a26b4f90b140a819 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 17 Oct 2020 15:26:58 -0400 Subject: =?UTF-8?q?Remove=20unnecessary=20uses=20of=20=E2=80=A2path=20now?= =?UTF-8?q?=20that=20=E2=80=A2Import=20imcorporates=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cjs.bqn | 8 ++++---- src/pr.bqn | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/cjs.bqn b/src/cjs.bqn index b481cdc0..3e6aaabf 100755 --- a/src/cjs.bqn +++ b/src/cjs.bqn @@ -1,6 +1,6 @@ #! /usr/bin/env dbqn -compile ← •Import •path∾"c.bqn" +compile ← •Import "c.bqn" Comp ← ((<"runtime["∾⍕∾"]"˙)¨↕62)⊸Compile FP ← ∞⊸=◶⟨⍕,"Infinity"⟩ Esc ← (⟨"\t","\n","\r","\'","\"""⟩∾<∘⥊)⊑˜("'"""∾˜@+9‿10‿13)⊑∘⊐⊢ @@ -13,8 +13,8 @@ Fout ← ⟨⊢,Fconst,L⟩ {L𝕎¨𝕩}¨ ⊢ Frun ← ("provide.concat("∾∾⟜")")⌾(1⊸⊑) Fout Long ← ∾ (1‿2/⟨" new Uint8Array("∾∾⟜")"⋄((@+10)∾" ,")⊸∾⟩) {𝕎𝕩}¨ ⊢ • ← (⊑"r"‿"c"‿"fmt"⊐⊏)◶⟨ - {𝕩⋄ref‿len←•Import•path∾"pr.bqn"⋄Long Frun len⊸↓⌾(1⊸⊑)Comp ref} - {𝕩⋄Long Fout Comp J •LNS •path∾"c.bqn"} - {𝕩⋄Long Fout Comp J •LNS •path∾"fmt.bqn"} + {𝕩⋄ref‿len←•Import"pr.bqn"⋄Long Frun len⊸↓⌾(1⊸⊑)Comp ref} + {𝕩⋄Long Fout Comp J •LNS "c.bqn"} + {𝕩⋄Long Fout Comp J •LNS "fmt.bqn"} ¯1 ↓ · J L∘Fout∘Comp¨ ⟩ •args diff --git a/src/pr.bqn b/src/pr.bqn index 77d664ff..0ad1e1bb 100755 --- a/src/pr.bqn +++ b/src/pr.bqn @@ -2,7 +2,7 @@ # Process BQN runtime -impl ← •LNS •path∾"r.bqn" +impl ← •LNS "r.bqn" chrs←⟨ "+-×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!" -- cgit v1.2.3