SCM Repository
Annotation of /trunk/src/compiler/IL/operators-sig.sml
Parent Directory
|
Revision Log
Revision 165 - (view) (download)
1 : | jhr | 129 | (* operators-sig.sml |
2 : | * | ||
3 : | * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) | ||
4 : | * 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 : | type rator | ||
14 : | |||
15 : | val arity : rator -> int (* operator arity *) | ||
16 : | val same : rator * rator -> rator (* equality test *) | ||
17 : | val hash : rator -> word (* hash key *) | ||
18 : | |||
19 : | val toString : rator -> string | ||
20 : | |||
21 : | end |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |