Commits on Jul 22, 2012
Commits on Jul 20, 2012
  1. Basic sanity tests

    Benabik committed Jul 20, 2012
Commits on Jul 10, 2012
  1. Introducing PACT.Packfile.Decompile

    It's just the real guts of disasm pulled out into a 'library'.  Not a
    good interface right now, but it's enough that I can start trying to
    test this mess.
    Benabik committed Jul 10, 2012
Commits on Jun 27, 2012
  1. disasm: Save PCC arrays in PCC ops

    Forgot to add them to the Op before using them to parse the
    other arguments.
    Benabik committed Jun 27, 2012
  2. diasm: Add opcodes to subs.

    This is much better than parsing everything and then ignoring
    the result.
    Benabik committed Jun 27, 2012
  3. disasm: Add active annotations to every sub

    Since annotations are scoped by bytecode index, they remain
    active across subroutine boundries.
    Benabik committed Jun 27, 2012
  4. disasm: Remove extra annotations

    Since we check annotations before updating the current sub
    (since the sub needs to add all the active annotations anyway),
    remove useless annotations from the end of the old sub.
    Benabik committed Jun 27, 2012
  5. PACT.Packfile.*: Add __dump methods

    This lets me use _dumper to see if I'm building what I think
    I'm building.  Of course, I'm not...
    Benabik committed Jun 27, 2012
  6. disasm: Remove unneeded function.

    I was referring to it when writing parse_arg, but now that's
    mostly done.
    Benabik committed Jun 27, 2012
  7. PACT.Packfile.Constant.Key: init from Key

    Add a constructor that understands native keys and use it when
    Benabik committed Jun 27, 2012
  8. disasm: Use initializers and shorter syntax

    Winxed (experimentally) allows :type variable(arg) for
    var variable = new type(arg).  It seems far more readable.
    Benabik committed Jun 27, 2012
  9. PACT.Packfile: more initializers

    Benabik committed Jun 27, 2012
  10. Revision of Packfile classes

    Benabik committed Jun 27, 2012
Commits on Jun 26, 2012
  1. Add PACT.Packfile

    This is a basic framework and is likely to be expanded as it gets
    Benabik committed Jun 26, 2012
  2. Update README

    Information on directory structure and compilation
    Benabik committed Jun 26, 2012
  3. diasm.winxed: Output multi signatures

    Very hacky way of doing it, but gives enough information to figure out
    what's going on.
    Benabik committed Jun 26, 2012
Commits on Jun 14, 2012
  1. Packfile: Start from a clean slate

    While I'll refer back to whiteknight's design, it's easier for me to
    start from scratch than adapt what's here already.
    Benabik committed Jun 14, 2012
Commits on Jun 5, 2012
  1. Add Makefile that forwards to setup.winxed

    Borrowed from Rosella
    Benabik committed Jun 5, 2012
  2. Add a dummy test file

    Benabik committed Jun 5, 2012
  3. Don't need OS

    Benabik committed Jun 5, 2012
  4. Initial build script

    Benabik committed Jun 5, 2012
Commits on Jun 3, 2012
  1. Add copyright and license information

    This mattered less when it was just a pile of notes, but now that
    we're getting real code in here, we should make it official.
    Benabik committed Jun 3, 2012
Commits on May 28, 2012
  1. Use new key methods to introspect keys

    Now we can actually display keys instead of just giving up.
    Benabik committed May 28, 2012
Commits on Apr 26, 2012
  1. TODO: Update for GSoC

    Now that I'm actually accepted, make note of what in the TODO I plan
    on doing.
    Benabik committed Apr 26, 2012
Commits on Apr 19, 2012
  1. Notes on REPLs

    Implementing a REPL framework has some tricky parts.  Document them
    somewhere for further reference and consideration.
    Benabik committed Apr 19, 2012
Commits on Apr 18, 2012
  1. Use more obvious header formatting

    The # and ## can get lost when skimming the file, and the = and -
    underlines are far more obvious for the more important headers.
    Benabik committed Apr 18, 2012
  2. Update TODO with recent news

    Mention the GSoC proposal and the src/packfile directories, since
    they're rather relevant to anyone wanting to work on the project.
    Benabik committed Apr 18, 2012
  3. Death to POST, long live CFGs

    Most of the operations currently done on POST can be sanely handled by
    either a higher-level AST or on the CFGs.  I've also become more
    convinced about the need of CFGs for reasonable optimization and useful
    algorithms (like advanced register allocation).
    So this commit removes the idea of an opcode tree in favor of control
    flow graphs.  It may be that the AST layer may gain specialty stages or
    nodes to deal with more low-level operations, but I no longer see a
    need to deal with it as a completely separate layer.
    Benabik committed Apr 18, 2012