From 425bb7f90ffc8a6f8a1590ed76f305f3029a0beb Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 10 Jul 2008 14:02:54 -0400 Subject: Writing HTML --- src/flat_print.sml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/flat_print.sml') diff --git a/src/flat_print.sml b/src/flat_print.sml index e9697adf..b6c467e1 100644 --- a/src/flat_print.sml +++ b/src/flat_print.sml @@ -136,6 +136,16 @@ fun p_exp' par env (e, _) = string "end"] end + | EStrcat (e1, e2) => box [p_exp' true env e1, + space, + string "^", + space, + p_exp' true env e2] + + | EWrite e => box [string "write(", + p_exp env e, + string ")"] + and p_exp env = p_exp' false env fun p_decl env ((d, _) : decl) = -- cgit v1.2.3