#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

#2664 in Parser implementations

Download history 130/week @ 2024-10-03 300/week @ 2024-10-10 7/week @ 2024-10-17

437 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
~885K SLoC