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

SCM Repository

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

View of /trunk/src/compiler/IL/operators-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 187 - (download) (annotate)
Thu Jul 29 14:00:37 2010 UTC (9 years ago) by jhr
File size: 481 byte(s)
  Working on IL representation
(* operators-sig.sml
 *
 * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu)
 * All rights reserved.
 *
 * Abstract interface used to parameterize the intermediate representation
 * over the allowed operators.
 *)

signature OPERATORS =
  sig

    type rator

    val arity : rator -> int			(* operator arity *)
    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