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/check-spec.sml
ViewVC logotype

View of /branches/charisee/src/compiler/gen/opt/check-spec.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: 778 byte(s)
making copyrights consistent for all code in the repository
(* check-spec.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.
 *
 * This is a stub file that will eventually be replaced by a typechecker for the
 * rewrite rules.
 *)

structure CheckSpec =
  struct

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

    datatype specification = datatype ParseTree.specification

    datatype rule = datatype ParseTree.rule

    datatype pattern = datatype ParseTree.pattern

    fun check (errStrm, spec) = spec

    val varToString = Atom.toString

    val sameOp = Atom.same
    val compareOp = Atom.compare
    val opToString = Atom.toString

  (* finite maps with variable keys *)
    structure VMap = AtomMap

  end

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