Boris Zhguchev

Results 57 comments of Boris Zhguchev

Thank you for good words! You can achive the compilation check using [procedural macros](https://doc.rust-lang.org/reference/procedural-macros.html). The idea is interesting and definitely can be benefitial. If you want to tackle it and...

> My thought was to craft it to look something like ... It looks a bit challenging but feel free to try. The main pitfall here is you need to...

The function-like macro can be created in the same crate. You can simply include it pub into this [module](https://github.com/besok/jsonpath-rust/blob/main/src/parser/macros.rs) Speaking of the parsing problem, it is what i pointed out...

it is possible in compile time, for instance, in the following construction having a proc-macro: ```rust #[json_path] struct JsPath(String); impl JsPath{ fn new( v:T){ JsPath(v.into()) } } fn some_fn(){ let...

> Basically I guess I'm asking, do you want some amount of all of this in the same crate? I think there are plenty of things that this crate could...

added [`margin_separate`](https://github.com/besok/graphviz-rust/commit/721e61595300786b9db88a177a027e2ca9230f09)