• Austin Clements's avatar
    Implement if, for (modulo ranges), break, continue, increment, · 709e75e3
    Austin Clements authored
    and decrement.  blockCompilers now form a tree the mimics the
    nesting of scopes and provide convenient ways to enter and
    exit scopes.  blockCompilers also track the break and continue
    PC for the current block.  The statement testing interface now
    works in lists of statements, which simplifies a bunch of
    things.
    
    R=rsc
    APPROVED=rsc
    DELTA=401  (335 added, 44 deleted, 22 changed)
    OCL=32308
    CL=32317
    709e75e3
stmt.go 16.7 KB