support constant expressions
Merge pull request #19 from wasabiz/master

support constant expressions