From 9b0915cb2ac613d2da04381772f2bf840f99068b Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 5 Nov 2015 14:51:03 +0100 Subject: Add a script to generate HTML with problem description --- readme.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index d344e79..0cfc75b 100644 --- a/readme.md +++ b/readme.md @@ -121,6 +121,10 @@ You can test stuff in a python interpreter: >>> prolog.test(231, 96, 'sister(X,Y):- parent(P,X), parent(P,Y), female(X).') >>> prolog.hint(231, 96, 'sister(X,Y):- parent(P,X), parent(P,Y), female(X).') +To check for errors in hint definitions you can use the problem_html script: + + python3 -m scripts.problem_html python introduction ballistics sl > out.html + Traces ====== -- cgit v1.2.1