diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-10-05 19:29:15 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-10-05 19:29:15 +0200 |
commit | 4586cb0e9d6cc862176314dcaa29edfea3c8eb4d (patch) | |
tree | bf6270ada1a3529444395a58f50fe08bc0f4c8ae /readme.md | |
parent | 3f54d449c4ebad07ddf4e8018c5ee0f0a4b00cd5 (diff) |
Update actions
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -114,3 +114,36 @@ You can test stuff in a python interpreter: >>> prolog = session.get_prolog() >>> 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).') + +Traces +====== + +Actions and corresponding additional attributes are specified here. + +Generic: + - open(time) # when opening the problem page, time = Date.now() on client + - close() # when closing the problem page + - ins(off, txt) # offset, text + - rm(off, txt) # offset, text, was rm(off, len) + - plan() + - hint(feedback) # feedback = list of returned hint objects + - test(feedback) # feedback = list of returned hint objects + +Prolog: + - prolog_solve(query) # was slv(qry) + - prolog_next() # was nxt + - prolog_end() # was stp + +Python: + - python_run(program) + - python_stop() + - python_input(txt) + +Robot: + - robot_run(program) + - robot_stop() + +Obsolete actions: + - slva(query) # "solve all" from tuProlog + - hnt # hint button press + - tst(tot, pas) # test results (total / passed) |