Skip to content

Commit

Permalink
Update the README
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltrt committed Jul 30, 2024
1 parent 6f9abc9 commit 7f1091b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion POLYGLOT_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ In PolyglotPiranha, programs are graphs of match-replace rules that can be compo

### Rules

Individual edits are represented as rules in Polyglot Piranha. Each rule represents a transformation that matches and replaces a specific code snippets.
Individual edits are represented as rules in Polyglot Piranha, where each rule represents matches and replaces a specific code snippet.
A program in PolyglotPiranha should contain at least one rule with the following properties:
- `query`: A query to find the code pattern to refactor
- `replace_node`: The captured node in the query that will be replaced.
Expand Down

0 comments on commit 7f1091b

Please sign in to comment.