|
|
1.1 root 1: Definition of Script Language
2:
3: OBJECTS
4: Text
5: % text <options> <x> <y> <string>
6: Quote rules for string:
7: If no leading quote, string starts at first character not
8: space or tab and goes for rest of line
9: If leading quote, later leading white space is kept and
10: trailing quote at end of line is stripped (if present);
11: intermediate quotes are kept
12: Some strings may be recognized by some processors:
13: bullet, dot, circle, times
14: Options -- [default] in brackets
15: [center] ljust rjust above below
16: small [medium] big bigbig
17: Option format (for text and geometry):
18: list of option names (possibly null) terminated by first number
19: Geometry
20: % line <options> <x1> <y1> <x2> <y2>
21: Options
22: [solid] fat fatfat dotted dashed
23: [-] -> <- <->
24: % box <options> <xmin> <ymin> <xmax> <ymax>
25: Options
26: [nofill] fill
27: % circle <options> <x1> <y1> <radius>
28: Radius measured in x dimension
29: Options
30: [nofill] fill
31:
32: HOUSEKEEPING
33: Erasing
34: % (label:) <text or geometric command>
35: At most one label per line
36: % erase <label>
37: Distinct name space for each view
38: ``foo: command'' implicitly deletes previous foo
39: Error if object never defined or already deleted
40: % clear
41: Erase all objects currently in current view
42: Time
43: % click <optional name>
44: Independent views
45: % view <name>
46: If no view statements appear, there is a single implicit view def.view
47: If geometry appears before any view statement, it goes in the
48: first view mentioned, and a warning is generated
49:
50: MISC
51: Comments follow #; blank lines ignored
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.