Learn Shisho
Shisho has two major features: (1) pattern matching for code and (2) transformation of the matched code. To use them, you need to write a rule, including patterns, rule constraints, and rewrite patterns. The following page explains these concepts with tutorials:
- "Pattern", which describes the code to search.
- "Rule and Rule Set", which bundles miscellaneous information on pattern matching and code transformation.
- "Rule Constraint", which imposes additional constraints on pattern matching.
- "Rewrite Option(s)", which describes how the matched parts of the code should be rewritten.