kayuri/HNC — Issue #5: C operator calls miss parentheses
Author: nponeccop
Created: 2011-10-08 10:28:56+00:00
State: open

`x = mul 2 (sum 3 4)` should be translated to `int x = 2 * (3 + 4)` instead of `x = 2 * 3 + 4`.

However, x = `sum 2 (mul 3 4)` should still be translated to `int x = 2 + 3 * 4` as parentheses are
not necessary because of priorities.

Create tests in `hn_tests/` and extend `CPP.Visualise.showAtomApplication`.