From: Tan Kian-ting Date: Mon, 25 Sep 2023 16:16:18 +0000 (+0800) Subject: remove unnessary `console.log` X-Git-Url: https://git.kianting.info/?a=commitdiff_plain;h=7227602546e6eaa298a14289e88c3d948b3ef457;p=clo remove unnessary `console.log` --- diff --git a/src/index.ts b/src/index.ts index 3b2b3d1..988e266 100644 --- a/src/index.ts +++ b/src/index.ts @@ -242,7 +242,7 @@ let midfix = (f : Function, signal? : string) => (x : TokenMatcheePair)=>{ let new_ast = [ast_tail]; a.value.ast = new_ast; - console.log("+"+signal+"+"+repr(a)); + // console.log("+"+signal+"+"+repr(a)); } @@ -282,7 +282,6 @@ let fac1Appliee = circumfix((x : TokenMatcheePair) => thenDo(thenDo(thenDo(tk.t let fac1 = (x : TokenMatcheePair) => { let raw = thenDo(thenDo(toSome(x), single), OnceOrMoreDo(fac1Appliee)); - console.log("+"+"火鳥"+"+"+repr(raw)); @@ -295,8 +294,6 @@ let fac1 = (x : TokenMatcheePair) => result = [applyToken, result, raw.value.ast[i]]; } - console.log("+"+"hitori"+"+"+repr(result)); - if (!Array.isArray(result)){ raw.value.ast = [result]; }else{