2 In order to seperate backend and frontend
4 I want to get a parsetree
9 [D]Do what I say, [Em]or I will suffer
13 Then the parsetree should be
17 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer']
22 Scenario: Simple Song Multiline
25 [D]Do what I say, [Em]or I will suffer
26 [D]Do what I say, [Em]or I will suffer
30 Then the parsetree should be
34 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer'],
35 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer']
40 Scenario: Song with two sections
43 [D]Do what I say, [Em]or I will suffer
44 [D]Do what I say, [Em]or I will suffer
46 [D]Do what I say, [Em]or I will suffer
47 [D]Do what I say, [Em]or I will suffer
51 Then the parsetree should be
55 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer'],
56 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer']
59 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer'],
60 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer']
66 In order to view the chord files
68 I want to get a text output
71 Scenario: Text Output of a simple Song
76 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer']
82 Then the output should be
85 Do what I say, or I will suffer
90 Scenario: Text Output of a simple Song with one Section and two lines
95 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer'],
96 ['Do what ', '[D]', 'I say, ', '[Em]', 'or I will suffer']
102 Then the output should be
105 Do what I say, or I will suffer
107 Do what I say, or I will suffer
112 Scenario: Text Output of a simple Song with two Section and two lines
117 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer'],
118 ['Do what ', '[D]', 'I say, ', '[Em]', 'or I will suffer']
121 ['[D]', 'Do what I say, ', '[Em]', 'or I will suffer'],
122 ['Do what ', '[D]', 'I say, ', '[Em]', 'or I will suffer']
128 Then the output should be
131 Do what I say, or I will suffer
133 Do what I say, or I will suffer
136 Do what I say, or I will suffer
138 Do what I say, or I will suffer