Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Recover expressions using RecursiveRewrite-generated rules
ResourceFunction["FromRecursiveRewrite"][expr,rules,f] recovers expression expr using rules generated by RecursiveRewrite and applies the function f to subexpressions. |
Choose an expression:
In[1]:= | ![]() |
Get a list of replacements to rewrite the expression:
In[2]:= | ![]() |
Out[2]= | ![]() |
Choose a subexpression:
In[3]:= | ![]() |
Out[3]= | ![]() |
Hover the cursor over the gray boxes to see the values of the subexpressions:
In[4]:= | ![]() |
Out[4]= | ![]() |
Hover the cursor over the subexpressions to see the byte count of the expressions:
In[5]:= | ![]() |
Out[5]= | ![]() |
Get the information for the expressions:
In[6]:= | ![]() |
Out[6]= | ![]() |
See the tree structure of an expression:
In[7]:= | ![]() |
Out[8]= | ![]() |
Replace expressions with buttons that replace the values of the subexpressions when clicked:
In[9]:= | ![]() |
Out[9]= | ![]() |
In[10]:= | ![]() |
Out[10]= | ![]() |
The "RewriteSymbol" option specifies which string to use when rewriting:
In[11]:= | ![]() |
Out[11]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License