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 1484 - (view) (download)
Original Path: trunk/src/compiler/gen/opt/parse-tree.sml

1 : jhr 1484 (* parse-tree.sml
2 :     *
3 :     * COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
4 :     * All rights reserved.
5 :     *)
6 :    
7 :     structure ParseTree =
8 :     struct
9 :    
10 :     type var = Atom.atom
11 :     type oper = Atom.atom
12 :    
13 :     datatype specification = Spec of rule list
14 :    
15 :     and rule = Rule of pattern * pattern
16 :    
17 :     and pattern
18 :     = WildPat
19 :     | IdPat of var
20 :     | OpPat of oper * pattern list
21 :    
22 :     end
23 :    

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