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

SCM Repository

[smlnj] Annotation of /sml/trunk/src/smlnj-lib/PP/devices/string-token.sml
ViewVC logotype

Annotation of /sml/trunk/src/smlnj-lib/PP/devices/string-token.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (view) (download)

1 : monnier 104 (* string-token.sml
2 :     *
3 :     * COPYRIGHT (c) 1998 Bell Labs, Lucent Technologies.
4 :     *
5 :     * A trivial implementation of tokens as strings w/o style information.
6 :     *)
7 :    
8 :     structure StringToken : PP_TOKEN =
9 :     struct
10 :     type style = unit
11 :     type token = string
12 :     fun string s = s
13 :     fun style _ = ()
14 :     fun size s = String.size s
15 :     end

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