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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (view) (download)

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

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