First pass scan

This commit is contained in:
WQY\qiong
2023-03-09 22:44:13 +08:00
parent 369e636e13
commit 96cb99b87a
11 changed files with 156 additions and 7 deletions

View File

@@ -44,5 +44,10 @@ def inp_in_rule(section: list[str]) -> ChangeSet:
return ChangeSet()
def inp_in_rule_new(name: str, section: list[str]) -> None:
for line in section:
write(name, f"\ninsert into rules (line) values ('{line}');")
def inp_out_rule(name: str) -> list[str]:
return get_rule(name)['rules']