X-Git-Url: https://git.kianting.info/?a=blobdiff_plain;f=src%2Findex.ts;h=988e266d774a3ae4350a95544ea6fc47a631f1a8;hb=7227602546e6eaa298a14289e88c3d948b3ef457;hp=3b2b3d15af9be13f1d207bdf90198eddd973959b;hpb=77dc1ded9c4adbb3108269ebe881c535353d8b61;p=uann 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{