~tomleb/hare-langtools

Resolve ident for const/global, add more tests
Initial commit

This is still a work in progress.