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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 435 - (view) (download)

1 : jhr 129 (* operators-sig.sml
2 :     *
3 : jhr 435 * COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)
4 : jhr 129 * All rights reserved.
5 :     *
6 :     * Abstract interface used to parameterize the intermediate representation
7 :     * over the allowed operators.
8 :     *)
9 :    
10 :     signature OPERATORS =
11 :     sig
12 :    
13 : jhr 392 type ty
14 :    
15 : jhr 129 type rator
16 :    
17 :     val arity : rator -> int (* operator arity *)
18 : jhr 187 val same : rator * rator -> bool (* equality test *)
19 : jhr 129 val hash : rator -> word (* hash key *)
20 :    
21 :     val toString : rator -> string
22 :    
23 :     end

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