repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mastert push ' of github.com:dopefishh/cc1516
[cc1516.git]
/
spl.icl
diff --git
a/spl.icl
b/spl.icl
index
291b0bd
..
c42412c
100644
(file)
--- 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))
= 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
= snd $ fclose (stdin <<< "\n") w
where
printTokens :: [Token] -> String