diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-03-02 16:06:36 +0100 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-08-11 14:26:02 +0200 |
commit | a60b0ef82a3f6c0cc38084200f92ae293d729116 (patch) | |
tree | 5beadcbf825551de37fd6484764ef44c87500632 /monkey/edits.py | |
parent | 720f4aa6426e1463757b3192e13b9f705a354a65 (diff) |
Annotate tokens instead of splitting program
Instead of splitting the program by line numbers, do limited parsing
(enough to distinguish , in "memb(X,Y)" from , in "a :- b, c."). Each
token in the parsed program is annotated with rule and part number.
Rewrite monkey.fix.step to take program as a sequence of annotated
tokens instead of lists of lines and rules. Improve message passing to
website.
Diffstat (limited to 'monkey/edits.py')
0 files changed, 0 insertions, 0 deletions