Refactor variable parser.
Refactor block parser.
Remove unused code.
Process escaped right marker at block processing.