fmt and parser for positive set in grammar_separated

also slice with limit, implemented slice for system, changed print for
slicing trace to not use unicode
This commit is contained in:
elvis
2025-10-20 17:04:00 +02:00
parent 4f3e57faed
commit 7d0345f246
8 changed files with 131 additions and 19 deletions

View File

@ -1,8 +1,8 @@
use std::collections::HashMap;
use serde::{Serialize, Deserialize};
use rsprocess::set::BasicSet;
use rsprocess::{element, graph, label, process, set, system, translator};
use serde::{Deserialize, Serialize};
/// If changing IntegerType in assert.rs, also change from Num to another
/// similar parser with different return type in grammar.lalrpop in
@ -196,7 +196,9 @@ pub enum AssertReturnValue {
impl<S> Default for Assert<S> {
fn default() -> Self {
Self { tree: Tree::Return(Box::new(Expression::True)) }
Self {
tree: Tree::Return(Box::new(Expression::True)),
}
}
}

View File

@ -1,8 +1,8 @@
use std::collections::HashMap;
use serde::{Serialize, Deserialize};
use rsprocess::translator::PrintableWithTranslator;
use rsprocess::{graph, label, set, system, translator};
use serde::{Deserialize, Serialize};
use super::dsl::*;