Permalink
Switch branches/tags
Nothing to show
Commits on Jan 7, 2012
  1. unstable state of code, but we're getting there -- part way through

    amontalenti committed Jan 7, 2012
    implementation of function 3-address code for stack frames.
Commits on Jan 6, 2012
  1. Implemented nested symbol table / scopes via the Environment class. Also

    amontalenti committed Jan 6, 2012
    added type checks for function names, declarations, and function
    definitions.
  2. yes! implemented parsing and lexing for function statements and

    amontalenti committed Jan 6, 2012
    function calls, including argument lists and parameter lists.
  3. code generator and python code generator now support if, else, and

    amontalenti committed Jan 6, 2012
    while... holy crap, we have control flow!
  4. implemented basicblock, ifblock, whileblock support with the node

    amontalenti committed Jan 6, 2012
    linking, HOWEVER, I don't yet have support for printing out the
    instruction set. That will come tomorrow.
Commits on Jan 5, 2012
  1. 3-address code generation and python code generation now working for

    amontalenti committed Jan 5, 2012
    relational and logical operators. eegads.
  2. update the documentation

    amontalenti committed Jan 5, 2012
  3. added new lexing tokens for relational and boolean operators, some more

    amontalenti committed Jan 5, 2012
    test cases, and an addition to our type system to support boolean and
    Relops in our AST
  4. forgot to add exercise 2

    amontalenti committed Jan 5, 2012
  5. wow, what a bug... turns out I had defined the wrong operator for "*"...

    amontalenti committed Jan 5, 2012
    I was constant folding 1*2 into 1-2... wow... good thing for debug
    output!
  6. improved constant folder further by making it support const

    amontalenti committed Jan 5, 2012
    declarations. Also altered folding code example to include examples of
    both folding w/ var and folding w/ const.
  7. Exercise 5 for Python AST transformation done.

    amontalenti committed Jan 5, 2012
    evilx is me exploring why Python can't constant fold on the left but can
    on the right.
  8. small changes to sample code

    amontalenti committed Jan 5, 2012
    starting project 5 on constant folding
Commits on Jan 4, 2012
  1. add test data

    amontalenti committed Jan 4, 2012
  2. project 4 start

    amontalenti committed Jan 4, 2012