File: wiki_test_data.pl

package info (click to toggle)
swi-prolog 5.10.1-1%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 76,436 kB
  • ctags: 45,143
  • sloc: ansic: 290,417; perl: 215,108; sh: 5,411; java: 5,136; makefile: 5,021; cpp: 2,168; yacc: 843; xml: 77; sed: 12
file content (87 lines) | stat: -rw-r--r-- 1,396 bytes parent folder | download | duplicates (5)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
		 /*******************************
		 *	 ELEMENTARY FACES	*
		 *******************************/

%%	faces
%	_italic_ *bold* =code=

%%	faces_with_punctuation
%	_italic_, *bold* and =code=.

%%	embedded_underscores
%	See also current_prolog_flag/2.

%%	faces_with_multiword
%	_italic text_.

%%	faces_with_pred
%	*bold name/2*.

%%	dcg_rule
%	See also name/2 and eos//0.


		 /*******************************
		 *	       LISTS		*
		 *******************************/

%%	list_unordered
%
%		* Item 1
%		* Item 2

%%	list_ordered
%
%		1. Item 1
%		2. Item 2

%%	list_description
%
%		$ a : argument is an atom
%		$ w : convert argument using write

%%	nested_list
%
%		* Item 1
%			* sub item 1
%			* sub item 2
%		* Item 2
%			1. ordered item 1
%			2. ordered item 2


		 /*******************************
		 *	       TABLES		*
		 *******************************/

%%	table
%	| First Name | Jan |
%	| Last Name | Wielemaker |


		 /*******************************
		 *	      VERBATIM		*
		 *******************************/

%%	verbatim
%
%	==
%	main :-
%		current_prolog_flag(argv, AllArgv),
%		append(_, [--|Argv], AllArgv),
%		main(Argv).
%	==




		 /*******************************
		 *     COMPLETE SCHELETONS	*
		 *******************************/

%%	read_line(+In:stream, -Line:codes) is det.
%
%	Read next input line from In and return it as a list of codes.
%
%	  * Nice item
%	  * Item 2