Debian Codegraph @

tests/unicode-tests/ciftest4

raw
1 #\#CIF_2.0
2 # Purpose: simple valid file with Unicode characters conforming to CIF syntax
3 # Includes characters from all ranges in datanames, blocknames and data values
4
5 # This first block is a bit simpler...
6 #
7 data_model
8
9 _d1 char
10 _d2 'model файл'
11 _d3 "with 色々 な  types of field"
12 _d4 # Comment 日本語 
13 ; 月曜日 all conforming to valid STAR/CIF syntax
14 rules
15 ;
16
17 loop_
18
19 _ちいさいな_アイテム
20 _d6
21 _d7
22 _d8
23
24 A B C D
25 E F G бред # Comment within the body of a loop あれ!
26 I J K L
27
28
29 # The second block is valid
30 # and uses the full Unicode range. Don't expect it to make
31 # too much sense.
32
33 data_𐌳𐌰𐍄𐌰_DATA_ffiffl_дата # "data" written 4 ways and ffiffl!
34
35 # data names from every range
36 _ᑐffiA char
37 _𐌳𐌰𐍄𐌰 ' ᑐffiA ' #should display concave left,'ffi' ligature,A
38 _𐌽𐌰𐌼𐌴 """ 𐌱🁇 """ # A runic 'B', a 3/1 domino
39 _t3 "with various types of field" # Comment
40 _t4
41 ;
42 all conforming to valid STAR syntax rules
43 ;
44 _t5
45
46 'beware of intervening line endings and blank lines'
47
48 # Beware also of other non-white-space token separators (especially TAB)
49
50 _t6 'there was a TAB character just after the data name'
51
52
53 # Loops can be nicely laid out, but don't have to be!
54 loop_ _t7 _t8 _t9 _t10 A B C D E F G H I J K L
55 loop_ _t11
56 _t12 _t13 _t14 a b c d e f
57 g h i j
58 k l
59
60 # Degenerate loop
61 loop_ _t15 0 1 2 3 4 5 6 7 8 9
62
63 # Loops can contain various data types and with intermingled comments
64 loop_
65 _t16
66 _t17
67 _t18
68 _t19
69
70 1 2 3 4
71 the quick brown fox # four different values here!
72 'jumps over' the lazy style
73 5 6 7
74 ; and they all went home to tea
75 ;
76 9 10 11 12