repositories
/
cc1516.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed pdf and finished up the slides
[cc1516.git]
/
spl.icl
diff --git
a/spl.icl
b/spl.icl
index
da8fa31
..
2b458e4
100644
(file)
--- a/
spl.icl
+++ b/
spl.icl
@@
-59,12
+59,12
@@
Start w
# lexOut = lexer cs
# stdin = if (not args.lex) stdin (case lexOut of
(Right toks) =
# lexOut = lexer cs
# stdin = if (not args.lex) stdin (case lexOut of
(Right toks) =
- stdin <<< "
---LEXER\n" <<< printTokens toks <<< "---
LEXER\n"
+ stdin <<< "
//LEXER\n" <<< printTokens toks <<< "//
LEXER\n"
_ = stdin)
# parseOut = parser lexOut
# stdin = if (not args.parse) stdin (case parser lexOut of
(Right ast) =
_ = stdin)
# parseOut = parser lexOut
# stdin = if (not args.parse) stdin (case parser lexOut of
(Right ast) =
- stdin <<< "
---PARSER\n" <<< toString ast <<< "---
PARSER\n"
+ stdin <<< "
//PARSER\n" <<< toString ast <<< "//
PARSER\n"
(Left parse) = stdin <<< toString parse)
= snd $ fclose stdin w
where
(Left parse) = stdin <<< toString parse)
= snd $ fclose stdin w
where