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

SCM Repository

[diderot] Annotation of /trunk/src/compiler/gen/opt/check-spec.sml
ViewVC logotype

Annotation of /trunk/src/compiler/gen/opt/check-spec.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1484 - (view) (download)

1 : jhr 1484 (* check-spec.sml
2 :     *
3 :     * COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
4 :     * All rights reserved.
5 :     *
6 :     * This is a stub file that will eventually be replaced by a typechecker for the
7 :     * rewrite rules.
8 :     *)
9 :    
10 :     structure CheckSpec =
11 :     struct
12 :    
13 :     type var = Atom.atom
14 :     type oper = Atom.atom
15 :    
16 :     datatype specification = datatype ParseTree.specification
17 :    
18 :     datatype rule = datatype ParseTree.rule
19 :    
20 :     datatype pattern = datatype ParseTree.pattern
21 :    
22 :     fun check (errStrm, spec) = spec
23 :    
24 :     val varToString = Atom.toString
25 :    
26 :     val sameOp = Atom.same
27 :     val compareOp = Atom.compare
28 :     val opToString = Atom.toString
29 :    
30 :     (* finite maps with variable keys *)
31 :     structure VMap = AtomMap
32 :    
33 :     end

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