Categories: None [Edit]

ryac

https://rubygems.org/gems/ryac
https://github.com/ahogappa/ryac
Ryac minifies Ruby source code using Prism AST transformations and TypeProf type inference. It bundles a program's require_relative and autoload graph into one file (dynamic requires become lazy regions), compacts and folds the AST, renames constants, variables and methods with compatibility aliases for the names a caller outside the bundle may still use, and can emit the result as a self-extracting file. Two levels: stable renames a method only when type inference resolved every caller; unstable also renames methods with unresolved callers. Ryac is under active development: its architecture, interfaces and output format may change between releases.

Total

Ranking: 152,752 of 196,721
Downloads: 3,937

Daily

Ranking: 58,818 of 196,694
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
283195,008,434prism
73579,812,329rbs
2,11213,433,662typeprof

Owners

#GravatarHandle
1iconahogappa