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

SCM Repository

[diderot] View of /branches/pure-cfg/src/compiler/codegen/clang.sml
ViewVC logotype

View of /branches/pure-cfg/src/compiler/codegen/clang.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 520 - (download) (annotate)
Thu Feb 10 19:25:53 2011 UTC (10 years, 2 months ago) by jhr
File size: 458 byte(s)
  Working on code gen
(* clang.sml
 *
 * COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
 * All rights reserved.
 *
 * An tree representation of programs in a C-like language (e.g., C, CUDA,
 * or OpenCL).
 *)

structure CLang =
  sig

    datatype exp
      = E_Grp of exp			(* "(" e ")" *)
      | E_BinOp of exp * binop * exp	(* e op e *)
      | E_UnOp of unop * exp		(* op e *)
      | E_Apply of string * exp list	(* f "(" ... ")" *)

  end

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