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

SCM Repository

[diderot] View of /branches/lamont/src/compiler/IL/operators-sig.sml
ViewVC logotype

View of /branches/lamont/src/compiler/IL/operators-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2298 - (download) (annotate)
Fri Mar 15 22:18:22 2013 UTC (6 years, 6 months ago) by jhr
File size: 664 byte(s)
  Merging in changes from vis12 branch.
(* operators-sig.sml
 *
 * COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)
 * All rights reserved.
 *
 * Abstract interface used to parameterize the intermediate representation
 * over the allowed operators.
 *)

signature OPERATORS =
  sig

    type ty

    type rator

    val resultArity : rator -> int              (* arity of results (usually 1) *)
    val arity : rator -> int			(* operator arity *)
    val isPure : rator -> bool			(* false for operations that have effects *)
    val same : rator * rator -> bool		(* equality test *)
    val hash : rator -> word			(* hash key *)

    val toString : rator -> string

  end

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