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

SCM Repository

[diderot] View of /branches/charisee/src/compiler/gen/opt/parse-tree.sml
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1484 - (download) (annotate)
Sun Sep 4 14:35:20 2011 UTC (10 years, 1 month ago) by jhr
Original Path: trunk/src/compiler/gen/opt/parse-tree.sml
File size: 406 byte(s)
  Created a compiler/gen directory to hold code for the generation tools.  Moved
  compiler/IL/gen to compiler/gen/il and created compiler/gen/opt for Charisee's tool.
(* parse-tree.sml
 * COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
 * All rights reserved.

structure ParseTree =

    type var = Atom.atom
    type oper = Atom.atom

    datatype specification = Spec of rule list

    and rule = Rule of pattern * pattern

    and pattern
      = WildPat
      | IdPat of var
      | OpPat of oper * pattern list


ViewVC Help
Powered by ViewVC 1.0.0