refactor: remove the biggest parts of the former expression parsing algo...

...rithm