Parser bugfix + features

- fixed some parserbug
- added support to lower case variables and constants