#extract #rem #preprocessor #toolchain #file #signature #generate

bin+lib rem-extract

Providing extract method capability for the REM toolchain

3 releases

0.1.2 Oct 10, 2024
0.1.1 Oct 10, 2024
0.1.0 Oct 7, 2024

#2727 in Parser implementations

Download history 91/week @ 2024-10-01 326/week @ 2024-10-08 20/week @ 2024-10-15

67 downloads per month

MIT license

90KB
2.5K SLoC

rem-extract

A fully self contained initial function extraction CLI tool for Rust Code. Uses Rust-Analyzer internally to extract the function signature and generate a new file with the extracted function. Significantly faster than spooling up an entire instance of Rust-Analyzer to just extract a function. Used as a preprocessor for the REM toolchain to extract functions from a file before fixing the lifetimes etc.

Dependencies

~36–50MB
~888K SLoC