# Style sheet for Tiger # # Copyright (c) 1999 Akim Demaille, Miguel Santana # # # This file is part of a2ps. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; see the file COPYING. If not, write to # the Free Software Foundation, 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. # style Tiger is requires a2ps 4.10 written by "Akim Demaille " version is 0.1 documentation is "Tiger is a toy language that serves as example of the book " "url(http://www.cs.princeton.edu/~appel/modern/)url(Modern Compiler Implementation)url" "by Andrew W. Appel." end documentation alphabets are "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_" case sensitive keywords in Keyword_strong are if, then, else, while, for, to, do, let, "in", "end", of, break, function, var, type, nil end keywords # Types keywords in Keyword are string, int, array end keywords # Some operators optional operators are & \wedge, | \vee, <> \neq, <= \leq, >= \geq #FIXME: ! \not I'm not sure. end operators sequences are "/*" Comment "*/", C-string end sequences end style