I was working on this new parser yesterday, and I thought it'd be kind of neat to make my AST generator export SVGs. So I did.
So, given this expression: 2 << 1 + 6 / 2 - 2 / 2 << 8 % 5 + 5 / 2
The AST looks like this, step by step:
ast << create_token_dec_literal("2",1);

ast << create_token_operator("<<",2);

ast << create_token_dec_literal("1",1);

ast << create_token_operator("+",1);

ast << create_token_dec_literal("6",1);

ast << create_token_operator("/",1);

ast << create_token_dec_literal("2",1);

ast << create_token_operator("-",1);

ast << create_token_dec_literal("2",1);

ast << create_token_operator("/",1);

ast << create_token_dec_literal("2",1);

ast << create_token_operator("<<",2);

ast << create_token_dec_literal("8",1);

ast << create_token_operator("%",1);

ast << create_token_dec_literal("5",1);

ast << create_token_operator("+",1);

ast << create_token_dec_literal("5",1);

ast << create_token_operator("/",1);

ast << create_token_dec_literal("2",1);

neathuh