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

SCM Repository

[diderot] Annotation of /branches/charisee/src/compiler/tree-il/cFn.sml
ViewVC logotype

Annotation of /branches/charisee/src/compiler/tree-il/cFn.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2631 - (view) (download)

1 : cchiw 2631 (* low-il.in
2 :     *
3 :     * COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)
4 :     * All rights reserved.
5 :     *
6 :     * Lower-level version of the Diderot IL input file.
7 :     *
8 :     *)
9 :    
10 :     structure Cfn =
11 :     struct
12 :    
13 :    
14 :    
15 :     datatype rator
16 :     = ldVec of int * int*int (*fullty, origty*offset*)
17 :     | mkVec of int (*fullty*)
18 :     | sum of int
19 :    
20 :    
21 :     fun q e1=Int.toString(e1)
22 :     fun toString(ldVec(fullTy, origty,offset))=String.concat["LdVec:",q fullTy,"-", q origty ,"at",q offset]
23 :     | toString(mkVec(n))=String.concat["mkVec:", q n ]
24 :    
25 :     end
26 :    

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