Add information about clauses to implication cards - #424
Conversation
|
Nice! Two comments:
|
|
By implication being printed twice you mean in the stack trace in VSCode? That's because I manually expanded the implication steps in the UI. I'll mark this as draft and cook a bit more |
a93cb00 to
e7e9ce3
Compare
It's useful to see in the stacktrace what rules were added to the context. It could probably be done with better UI, but this is the least invasive version.
|
The last push should fix the 4.14 errors (how is |
|
With the commit I pushed and this LPCIC/elpi-lang#35 I get |
|
oops I forgot to promote and I have to go now. Please give it a try and if it works for you I'll merge |
|
Funny that you removed Shiki from the extension, I just fixed the integration this morning, and I've been looking into fixing the terrible performance (which I believe is fixable). I think the better approach to backwards compatibility would be to have a meta packet as the first object of the trace, which specifies the data version (and if it's missing treat it as v1). I can try implementing that if you'd like. |
|
About versioning the trace format, yes, that would be a more principled approach, but one would still need to pass the version around to print things differently, or version© the code. I thought about that and decided it was not worth it for this little change. But if you have many changes planned, it may make perfect sense |



It's useful to see in the stacktrace what rules were added to the context. It could probably be done with better UI, but this is the least invasive version.
Example stack trace
