20 releases

new 0.0.21 Jan 14, 2025
0.0.20 Dec 30, 2024
0.0.18 Nov 28, 2024
0.0.16 Jul 30, 2024
0.0.1 Sep 16, 2022

#2 in #builtins

Download history 25/week @ 2024-09-24 20/week @ 2024-10-01 4/week @ 2024-10-08 4/week @ 2024-11-05 6/week @ 2024-11-12 136/week @ 2024-11-19 115/week @ 2024-11-26 94/week @ 2024-12-03 45/week @ 2024-12-10 162/week @ 2024-12-17 148/week @ 2024-12-24 124/week @ 2024-12-31 62/week @ 2025-01-07

502 downloads per month
Used in 4 crates (3 directly)

GPL-3.0-or-later

4.5MB
131K SLoC

C 116K SLoC // 0.1% comments Happy 6.5K SLoC M4 5K SLoC // 0.3% comments Rust 2.5K SLoC // 0.1% comments Shell 626 SLoC // 0.2% comments GNU Style Assembly 68 SLoC

Contains (autotools obfuscated code, 640KB) bash/configure, (obscure autoconf code, 42KB) bash/configure.ac

crates.io

scallop

Scallop wraps a forked version of bash supporting shell interactions (e.g. writing builtins or modifying variables, arrays, and functions) natively in rust.

Development

Note that currently the development workflow involves force pushing to the bash repo in order to keep the patch stack in order when upstream changes are merged.

Dependencies

~7–36MB
~577K SLoC