Added guarded context

This commit is contained in:
elvis
2025-08-20 13:51:48 +02:00
parent 331635981a
commit d4ade0d921
4 changed files with 53 additions and 42 deletions

View File

@ -166,28 +166,27 @@ fn print_process(
match process {
Nill => {
write!(f, "Nill")
}
},
RecursiveIdentifier { identifier } => {
write!(f,
"[{}]",
translator.decode(*identifier).unwrap_or("Missing".into()))
}
EntitySet {
entities,
next_process,
} => {
},
EntitySet { entities, next_process, } => {
write!(
f,
"{}.{}",
RSsetDisplay::from(translator, entities),
RSprocessDisplay::from(translator, next_process)
)
}
WaitEntity {
repeat,
repeated_process,
next_process,
} => {
},
Guarded { reaction, next_process } => {
write!(f,
"?{}?.{}",
RSreactionDisplay::from(translator, reaction),
RSprocessDisplay::from(translator, next_process))
},
WaitEntity { repeat, repeated_process, next_process, } => {
write!(
f,
"({})^{repeat}.{}",