Converting to library and commenting code

refactoring and removing useless functions
This commit is contained in:
elvis
2025-07-09 19:34:15 +02:00
parent 1b9c0ce44b
commit ed49d6fa52
14 changed files with 170 additions and 121 deletions

View File

@ -1,33 +1,10 @@
mod examples;
mod rsprocess;
lalrpop_util::lalrpop_mod!(
#[allow(clippy::uninlined_format_args)] pub grammar, // name of module
"/rsprocess/grammar.rs" // location of parser
);
fn main() -> std::io::Result<()> {
// let now = std::time::Instant::now();
// std::thread::sleep(std::time::Duration::new(2, 0));
// println!("{}", now.elapsed().as_micros());
// examples::stats()?;
reactionsystems::examples::digraph()?;
// examples::freq()?;
// examples::hoop()?;
// examples::target()?;
// examples::run()?;
// examples::limit_freq()?;
// examples::fast_freq()?;
examples::digraph()?;
examples::adversarial()?;
reactionsystems::examples::adversarial()?;
Ok(())
}