Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /trunk/src/compiler/ast/ast-pp.sml
ViewVC logotype

View of /trunk/src/compiler/ast/ast-pp.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 93 - (download) (annotate)
Thu May 27 15:32:06 2010 UTC (9 years, 3 months ago) by jhr
Original Path: trunk/src/ast/ast-pp.sml
File size: 378 byte(s)
  Added placeholder for pretty-printing AST after typechecking
(* ast-pp.sml
 *
 * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu)
 * All rights reserved.
 *)

structure ASTPP : sig

    val output : TextIO.outstream * AST.program -> unit

  end = struct

    structure PP = TextIOPP

    fun output (outS, prog) = let
	  val ppStrm = PP.openOut {dst = outS, wid = 120}
	  in
	    PP.closeStream ppStrm
	  end

  end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0