X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=spl.icl;h=c42412c6fc9bca69e1da3914a037f85bc9379db6;hb=b6c2892b454651c4f3b2412d5b36f273ef6a3128;hp=291b0bdd369f4c2cdeebcae3ea94229c990b8f4e;hpb=2953e6cc260d8243e5434b7e787258ab073d34d2;p=cc1516.git diff --git a/spl.icl b/spl.icl index 291b0bd..c42412c 100644 --- a/spl.icl +++ b/spl.icl @@ -70,8 +70,9 @@ Start w = case sem parseOut of (Left e) = snd $ fclose (stdin <<< join "\n" (map toString e)) w (Right (semOut, gamma)) - # stdin = if (not args.sem) stdin ( - stdin <<< "//SEM\n" <<< toString gamma <<< "//SEM\n") + # stdin = if (not args.sem) stdin (stdin + <<< "//SEM G\n" <<< toString gamma <<< "//SEM A\n" + <<< "//SEM A\n" <<< toString semOut <<< "//SEM A\n") = snd $ fclose (stdin <<< "\n") w where printTokens :: [Token] -> String