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

SCM Repository

[diderot] View of /trunk/src/compiler/IL/gen/high-il.in
ViewVC logotype

View of /trunk/src/compiler/IL/gen/high-il.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 186 - (download) (annotate)
Thu Jul 29 04:26:57 2010 UTC (10 years, 2 months ago) by jhr
File size: 432 byte(s)
  Add generator for IL operator structures.
(* high-il.sml
 *
 * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu)
 * All rights reserved.
 *
 * High-level version of the Diderot IL.
 *
 * Note: this file is generated from gen/high-il.spec and gen/high-il.in.
 *)

structure HighOps =
  struct

    type ty = BoolTy | StringTy | IntTy | TensorTy of int list

    fun sameTy (ty1 : ty, ty2) = (ty1 = ty2)

@BODY@

  end

structure HighIL = SSAFn(HighOps)

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