cargo fmt, additional operations for dsl on context

This commit is contained in:
elvis
2025-12-15 14:53:34 +01:00
parent ca6f6e7b39
commit bbd482e2ce
12 changed files with 7360 additions and 176 deletions

6738
testing/erbb.system Normal file

File diff suppressed because it is too large Load Diff

View File

@ -9,8 +9,17 @@ my %structure = (
Reactions => (),
);
open FILE, $ARGV[0] or die $!;
my @data = <FILE>;
my $in;
if ($#ARGV >= 0){
unless (open($in, "<", $ARGV[0])){
die "could not open $ARGV[0] for reading.";
}
} else {
$in = *STDIN;
}
my @data = <$in>;
my $data = "@data";
$data =~ /myentities\(\[([^\]]*)\]\)/s;