File: modula2.ssh

package info (click to toggle)
a2ps 1%3A4.14-1.3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,324 kB
  • sloc: ansic: 26,966; sh: 11,844; lex: 2,286; perl: 1,156; yacc: 757; makefile: 609; lisp: 398; ada: 263; objc: 189; f90: 109; ml: 85; sql: 74; pascal: 57; modula3: 33; haskell: 32; sed: 30; java: 29; python: 24
file content (53 lines) | stat: -rw-r--r-- 1,285 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Style sheet for modula-2
# Copyright (c) 1997, Peter Bartke
# $Id: modula2.ssh,v 1.1.1.1 2002/03/04 18:46:27 akim Exp $
#

style "Modula 2" is
written by "Peter Bartke <bartke@inf.fu-berlin.de>"
version is 1.0
requires a2ps version 4.9.7

alphabets are
   "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_"
case sensitive

# Common to Modula 2 and Modula 3
keywords in Keyword_strong are
  AND, ARRAY, BEGIN, BY, CASE, CONST, DIV, DO, ELSE, ELSIF, END, EXIT,
  FOR, FROM, IF, IMPORT, IN, LOOP, MOD, MODULE, NOT, OF, OR,
  PROCEDURE, RECORD, REPEAT, RETURN, SET, THEN, TO, TYPE, UNTIL, VAR,
  WHILE, WITH
end keywords

# Modula 2 only
keywords in Keyword_strong are
  DEFINITION, EXPORT, IMPLEMENTATION, POINTER, QUALIFIED
end keywords

keywords in Keyword are
  ADDRESS, BITSET, BOOLEAN, CARDINAL, CHAR, INTEGER, LONGINT,
  LONGREAL, WORD, PROC, REAL, FALSE, TRUE, NIL, ABS, CAP, CHR, FLOAT,
  HIGH, MAX, MIN, ODD, ORD, SIZE, TRUNC, VAL, DEC, INC, INCL, EXCL,
  HALT
end keywords
optional keywords are
   IN \in,
   NOT \not,
   AND \wedge,
   OR \vee
end keywords
optional operators are
   ^  \uparrow,
   <= \leq,
   >= \geq,
   <> \neq,
   "#" \neq,
   &  \wedge
end operators
sequences are
    "(*" Plain Comment "*)" Plain,
    C-string,
    C-char
end sequences
end style