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 /sml/branches/dbm-branch-2005_09_20/ckit/src/parser/util/ascii.sml
ViewVC logotype

View of /sml/branches/dbm-branch-2005_09_20/ckit/src/parser/util/ascii.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1835 - (download) (annotate)
Tue Aug 16 16:16:38 2005 UTC (15 years, 1 month ago)
File size: 1089 byte(s)
This commit was manufactured by cvs2svn to create branch
'dbm-branch-2005_09_20'.
(* Copyright (c) 1998 by Lucent Technologies *)

(* Copyright 1989 by AT&T Bell Laboratories *)
(* ascii.sml *)

structure Ascii = struct
    val caret		 = 94
    and colon		 = 58
    and comma		 = 44
    and del		 = 127
    and dollar		 = 36
    and dot		 = 46
    and dquote		 = 34
    and equal		 = 61
    and formfeed	 = 12
    and greaterthan	 = 62
    and lbrace		 = 123
    and lbracket	 = 91
    and lc_a		 = 97
    and lc_n		 = 110
    and lc_t		 = 116
    and lc_z		 = 122
    and lessthan	 = 60
    and lparen		 = 40
    and minus		 = 45
    and newline		 = 10
    and nine		 = 57
    and percent		 = 37
    and plus		 = 43
    and query		 = 63
    and rbrace		 = 125
    and rbracket	 = 93
    and return		 = 13
    and rparen		 = 41
    and SEMIcolon	 = 59
    and sharp		 = 35
    and slash		 = 47
    and space		 = 32
    and squote		 = 39
    and star		 = 42
    and tab		 = 9
    and tilde		 = 126
    and uc_a		 = 65
    and uc_z		 = 90
    and underscore	 = 95
    and zero		 = 48

    fun isDigit (char) = char >= zero andalso char <= nine;

end  (* structure Ascii *)

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