[ltac] accept constrN, open_constrN and uconstrN as a tactic argument - #22329
[ltac] accept constrN, open_constrN and uconstrN as a tactic argument#22329gares wants to merge 1 commit into
Conversation
|
What is this trying to solve and why can't you use ltac2 instead? |
|
I will try to use Ltac2, I guess I need a way to call elpi from it. |
|
I'm rediscovering the wheel here I guess, but I see I can't call SSR tactics from Ltac2, so the problem is not just Elpi :-/ |
|
Thanks for the fix, now the code seems more legit. |
You should fix that instead of hacking ltac1. |
|
Ideally yes, but it is much more work :-( |
|
IDK if this PR is ever going tobe merged though |
|
How hard is to make ARGUMENT/TACTIC extend also edit the Ltac2 grammar? |
|
It goes against how ltac2 works. |
|
Is there a way to have SSR in Ltac2 without rewriting the grammar using Ltac2 notations? |
|
Some of it may be exposed as ltac2 syntactic classes from ocaml (eg intropatterns) |
I believe this PR lifts one of the main limitations when it comes to defining tactic syntax without using ocaml (or Ltac2).