Add metavar_env to library

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Add expression elaborator to library

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>