From 7f1091b7cba41cade865f3e22b2725f44eea7388 Mon Sep 17 00:00:00 2001 From: danieltrt Date: Tue, 30 Jul 2024 10:04:27 -0700 Subject: [PATCH] Update the README --- POLYGLOT_README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/POLYGLOT_README.md b/POLYGLOT_README.md index f98dc8703..f5a269dd6 100644 --- a/POLYGLOT_README.md +++ b/POLYGLOT_README.md @@ -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.