SCM Repository
[diderot] / trunk / src / parser / operators.sml |
View of /trunk/src/parser/operators.sml
Parent Directory
|
Revision Log
Revision 32 -
(download)
(annotate)
Wed Feb 10 22:24:56 2010 UTC (12 years, 3 months ago) by jhr
File size: 682 byte(s)
Wed Feb 10 22:24:56 2010 UTC (12 years, 3 months ago) by jhr
File size: 682 byte(s)
New file
(* operators.sml * * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) * All rights reserved. *) structure Operators = struct (* binary operators *) val andAlso = Atom.atom "&&" val orElse = Atom.atom "||" val lt = Atom.atom "<" val lte = Atom.atom "<=" val equ = Atom.atom "==" val neq = Atom.atom "!=" val gt = Atom.atom ">" val gte = Atom.atom ">=" val plus = Atom.atom "+" val minus = Atom.atom "+" val times = Atom.atom "*" val divide = Atom.atom "/" (* selector operators *) val at = Atom.atom "@" val sub = Atom.atom "[]" (* unary operators *) val uMinus = Atom.atom "unary -" val bNot = Atom.atom "not" end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |