3 ms·
I mean while it's harder to support dynamic stuff in rust than say in python, it's certainly not impossible to add dynamic rules in principle.
by lost_tourist 4y ago
I mean while it's harder to support dynamic stuff in rust than say in python, it's certainly not impossible to add dynamic rules in principle.
- muglug 4y agoYou can add dynamic rules, but they either need to be compiled alongside the tool or written in a format that the tool can parse. That interchange language can be anything from plaintext to WASM bytecode. I’ve used the former system (compiling things together in a custom build) in a Rust-based static analysis tool I’ve created. SWC uses the latter system, requiring plugins to be authored in WASM.