This does not include parse fixes, just compile-required fixes.
But now I have realized that the parser should work differently and with mutual recursion. The "inline" nodes (except the text node) should all have children.
This peekable class might not work, it lowkey sucks.