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

SCM Repository

[diderot] View of /branches/charisee/src/compiler/tree-il/cFn.sml
ViewVC logotype

View of /branches/charisee/src/compiler/tree-il/cFn.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2632 - (download) (annotate)
Fri May 23 18:57:58 2014 UTC (6 years, 8 months ago) by jhr
File size: 554 byte(s)
  various changes
(* low-il.in
 *
 * COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)
 * All rights reserved.
 *
 * Lower-level version of the Diderot IL input file.
 *
 *)

structure Cfn =
  struct

    datatype rator
      = ldVec of int * int*int (*fullty, origty*offset*)
      | mkVec of int (*fullty*)
      | sum of int


    fun q e1=Int.toString(e1)

    fun toString (ldVec(fullTy, origty,offset)) = String.concat["LdVec:",q fullTy,"-", q origty ,"at",q offset]
      | toString (mkVec(n)) = String.concat["mkVec:", q n ]

  end


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