Ticket #2134: test.lore

File test.lore, 1.3 KB (added by DavidBlewett, 12 years ago)

Small test file that illustrates the span index error.

Line 
1<html>
2<head>
3  <title>The way of the program</title>
4</head>
5
6<body>
7
8<h1>The way of the program</h1>
9
10<p>The goal of this book is to teach you to think like a computer scientist.
11This way of thinking combines some of the best features of mathematics,
12engineering, and natural science.  Like mathematicians, computer scientists use
13formal languages to denote ideas (specifically computations).  Like engineers,
14they design things, assembling components into systems and evaluating tradeoffs
15among alternatives.  Like scientists, they observe the behavior of complex
16systems, form hypotheses, and test predictions.</p>
17
18<p>The single most important skill for a computer scientist is
19<strong>problem solving</strong>.  Problem solving means the ability to
20formulate problems, think creatively about solutions, and express a solution
21clearly and accurately.  As it turns out, the process of learning to program is
22an excellent opportunity to practice problem-solving skills.  That's why this
23chapter is called, <q>The way of the program.</q></p>
24
25<p>On one level, you will be learning to program, a useful skill by itself.  On
26another level, you will use programming as a means to an end.  As we go along,
27that end will become clearer.</p>
28
29
30<h2>The Python programming language</h2>
31<span class="index" value="programming language" />
32
33</body>
34</html>