= 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