2025-06-19 23:48:16 +02:00
|
|
|
#![allow(unused_imports)]
|
2025-05-14 11:42:19 +02:00
|
|
|
mod rsprocess;
|
2025-07-01 04:04:13 +02:00
|
|
|
mod examples;
|
|
|
|
|
|
2025-06-24 18:56:04 +02:00
|
|
|
use std::{hash::Hash, rc::Rc};
|
2025-06-18 11:28:04 +02:00
|
|
|
use rsprocess::translator::WithTranslator;
|
|
|
|
|
|
2025-07-01 04:04:13 +02:00
|
|
|
lalrpop_util::lalrpop_mod!(#[allow(clippy::uninlined_format_args)] pub grammar, "/rsprocess/grammar.rs");
|
2025-06-19 23:48:16 +02:00
|
|
|
|
2025-07-01 04:04:13 +02:00
|
|
|
fn main() -> std::io::Result<()> {
|
2025-06-19 23:48:16 +02:00
|
|
|
|
2025-07-01 04:04:13 +02:00
|
|
|
// let now = std::time::Instant::now();
|
|
|
|
|
// std::thread::sleep(std::time::Duration::new(2, 0));
|
|
|
|
|
// println!("{}", now.elapsed().as_micros());
|
2025-06-19 23:48:16 +02:00
|
|
|
|
2025-07-01 04:04:13 +02:00
|
|
|
examples::stats()?;
|
2025-06-19 23:48:16 +02:00
|
|
|
|
2025-07-01 04:04:13 +02:00
|
|
|
examples::hoop()?;
|
2025-06-20 17:11:00 +02:00
|
|
|
|
2025-07-01 04:04:13 +02:00
|
|
|
examples::target()?;
|
2025-06-20 17:11:00 +02:00
|
|
|
|
2025-07-01 04:04:13 +02:00
|
|
|
examples::run()?;
|
2025-06-24 18:56:04 +02:00
|
|
|
|
2025-05-14 11:42:19 +02:00
|
|
|
Ok(())
|
|
|
|
|
}
|