Author Topic: update wk37-wk40  (Read 6854 times)

bas

  • Full Member
  • ***
  • Posts: 220
    • View Profile
update wk37-wk40
« on: October 08, 2013, 09:03:58 PM »
Since it's sometimes hard to see what's happening by looking at the codebase; I though it'd be nice to
just start a regular 2-4 week update post series. This will be the first one.

The past 4 weeks saw quite some work on the analyser:
  • symbol lookup and error-messages have been improved with the help of unit tests.
  • better analysis of -> and . operators
  • better analysis of type conversions, also in function arguments/return types
  • bugfixes

I've added a feature to generate a dot file with the package dependencies (with the --deps argument). This file
can be converted into an image using:
dot -T png deps.dot > image.png

A LHS/RHS-argument (left/right-hand side) has been added to  analyseExpr(), so it can now check unused variables
and un-initialized use in the near-future.

And last but not least, c2c has been updated to LLVM/Clang 3.3 (from 3.2). This was not a big issue, since
the changes needed to clang are quite small. So pulling this update will require you to update as well (c2c
will not remain backwards compatible with 3.2).

The coming period will hopefully result in:
  • file-dependency generation (the idea is to generate a Design Structured Matrix file)
  • finally fixing the type of numeric constants (not so easy)
  • start of implicit casts (needed for IR-code generation)

Bas