A flexible, full-featured and fast variable expansion library