#extract #rem #preprocessor #toolchain #file #signature #capability

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

#2580 in Parser implementations

Download history 130/week @ 2024-10-03 290/week @ 2024-10-10

420 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

~46MB
~880K SLoC