nponeccop
nponeccop
`x = mul 2 (sum 3 4)` should be translated to `int x = 2 * (3 + 4)` instead of `x = 2 * 3 + 4`. However, x...
Note that many tests are disabled in `HN_Tests.hs` because they lack assertions (the output was checked manually). These tests should also be re-enabled, rewritten to use HUnit and migrated to...
Rewrite `CPP.Visualise` so it doesn't rely on `CPP.Intermediate.CppDefinition.functionLevel` and `CPP.Visualise.CppContext.contextLevel` for indentation.
Replace ``` foo = { x = 2 bar x x } ``` with ``` foo = bar x x where x = 2 ``` Note that the indentation (so...
Now the parser generates an "empty" parse tree, so there's no way to display give error locations in typechecker and later stages.