Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/branches/primop-branch-2/src/compiler/ElabData/basics/primopid.sig
ViewVC logotype

Annotation of /sml/branches/primop-branch-2/src/compiler/ElabData/basics/primopid.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1955 - (view) (download) (as text)

1 : georgekuan 1954 (* primopid.sig
2 :     *
3 :     * (C) 2001 Lucent Technologies, Bell Labs
4 :     *)
5 :    
6 :     signature PRIMOPID =
7 :     sig
8 :    
9 : macqueen 1955 datatype primId = Prim of string | NonPrim
10 : georgekuan 1954
11 : macqueen 1955 datatype strPrimElem
12 :     = PrimE of primId
13 :     | StrE of strPrimInfo
14 :    
15 :     withtype strPrimInfo = strPrimElem list
16 :    
17 :     val isPrimop : primId -> bool
18 :    
19 :     val isPrimCallcc : primId -> bool
20 :     val isPrimCast : primId -> bool
21 :    
22 :     val selStrPrimId : strPrimInfo * int -> strPrimElem
23 : georgekuan 1954 (*
24 :     val match : inl_info ->
25 :     { inl_prim: PrimOp.primop * Types.ty -> 'a,
26 :     inl_str: inl_info list -> 'a,
27 :     inl_no: unit -> 'a } ->
28 :     'a
29 :    
30 :     val prInfo : inl_info -> string
31 :    
32 :     val isPrimop : primId -> bool
33 :     val selStrInfo : inl_info * int -> inl_info
34 :    
35 :     val isPrimCallcc : inl_info -> bool
36 :     val isPrimCast : inl_info -> bool
37 :    
38 :     val mkPrimInfo : PrimOp.primop * Types.ty -> inl_info
39 :     val mkStrInfo : inl_info list -> inl_info
40 :     val nullInfo : inl_info
41 :    
42 :     val primopTy : inl_info -> Types.ty option
43 :     *)
44 :     end (* signature INL_INFO *)

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