1
0
mirror of https://github.com/golang/go synced 2024-11-22 17:04:40 -07:00
go/usr
Austin Clements 36eee6d1e1 Make the expression compiler not use the AST visitor. The
statement compiler will be fixed in a later CL.

The input and output of the expression compiler are now
clearly distinguished.  In the process, I made the individual
expression compilers operate on the compiled form of their
children instead of AST nodes.  As a result, there are now
fewer places where I hand-craft intermediate expression nodes.

The diff looks scarier than it is, mostly because exprCompiler
has been split into the input and output types, resulting in
lots of little renames.

R=rsc
APPROVED=rsc
DELTA=774  (204 added, 199 deleted, 371 changed)
OCL=33851
CL=33851
2009-08-25 17:57:40 -07:00
..
austin Make the expression compiler not use the AST visitor. The 2009-08-25 17:57:40 -07:00
dsymonds/iterable
gri/pretty
rsc checkpoint & test (pidigits) before trying to automate. 2009-08-25 15:37:22 -07:00