RAMification adds 'name' attribute, giving control over the names of created objects
This commit is contained in:
parent
7c01b126c2
commit
da4f1718ce
8 changed files with 64 additions and 32 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import os.path
|
||||
from framework.conformance import Conformance, render_conformance_check_result
|
||||
from concrete_syntax.textual_od import parser
|
||||
from concrete_syntax.common import indent
|
||||
from transformation.rule import Rule
|
||||
|
||||
# parse model and check conformance
|
||||
|
|
@ -77,6 +78,6 @@ def load_rules(state, get_filename, rt_mm_ramified, rule_names, check_conformanc
|
|||
|
||||
rules[rule_name] = Rule(*(parse(kind) for kind in KINDS))
|
||||
|
||||
print("Rules loaded:\n" + '\n'.join(files_read))
|
||||
print("Rules loaded:\n" + indent('\n'.join(files_read), 4))
|
||||
|
||||
return rules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue