…and if I could go COMPLETELY off the deep end…
- Add the special syntax : where symbol:symbol is implicitly (symbol symbol). This would allow the clearer:
10:i32 40:i32 i32.add
- Have mild type inference on the instructions. Why not? Allow either of
10:i32 40:i32 add
or
10 40 i32.add
There's only one instruction that fits the constants in the former example, and only one interpretation of the literals that fits the instruction in the latter example.