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/parse-tree.sml
ViewVC logotype

Annotation of /branches/charisee/src/compiler/gen/opt/parse-tree.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (view) (download)

1 : jhr 1484 (* parse-tree.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 :    
9 :     structure ParseTree =
10 :     struct
11 :    
12 :     type var = Atom.atom
13 :     type oper = Atom.atom
14 :    
15 :     datatype specification = Spec of rule list
16 :    
17 :     and rule = Rule of pattern * pattern
18 :    
19 :     and pattern
20 :     = WildPat
21 :     | IdPat of var
22 :     | OpPat of oper * pattern list
23 :    
24 :     end
25 :    

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