blob: 17a6fc450bfc9335aa44d33c4d30a8a256efd5d6 (
plain)
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
|
name = 'Prolog'
description = 'Introductory Prolog course.'
hint = {
'no_hint': '''\
<p>No hint available, sorry!</p>
''',
'test_results': '''\
<p>Your code passed [%=passed%] / [%=total%] tests.</p>
''',
'syntax_error': '''\
<p>Your code contains syntax errors! The Prolog compiler emitted the following messages:</p>
<pre>
[%=messages%]
</pre>
''',
'monkey_main': '''\
<p>I was able to correct your program. Check out the editor for hints.</p>
''',
'monkey_change': '''\
<p>Check the highlighted part.</p>
''',
'monkey_insert': '''\
<p>Add another goal or clause.</p>
''',
'monkey_remove': '''\
<p>Remove the highlighted part.</p>
''',
}
|