Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /ml-lex/trunk/tool/ext.sml
ViewVC logotype

View of /ml-lex/trunk/tool/ext.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2585 - (download) (annotate)
Wed May 23 05:06:17 2007 UTC (12 years, 2 months ago) by blume
File size: 394 byte(s)
CM tools now treated as simple libraries
(* ext.sml
 *
 *   Classifier plug-in for suffixes.
 *
 * Copyright (c) 2007 by The Fellowship of SML/NJ
 *
 * Author: Matthias Blume (blume@tti-c.org)
 *)
structure LexLexExt = struct
    local
	val suffixes = ["lex", "l"]
	val class = "mllex"
	fun sfx s =
	    Tools.registerClassifier
		(Tools.stdSfxClassifier { sfx = s, class = class })
    in
        val _ = app sfx suffixes
    end
end

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