parser: Added constant folding and removed default values