Add support for `:local` variable definitions

Close #36