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 3349 - (download) (annotate)
Tue Oct 27 15:16:36 2015 UTC (5 years, 11 months ago) by jhr
File size: 459 byte(s)
making copyrights consistent for all code in the repository
(* parse-tree.sml
 *
 * This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
 *
 * COPYRIGHT (c) 2015 The University of Chicago
 * All rights reserved.
 *)

structure ParseTree =
  struct

    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

  end


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