summaryrefslogtreecommitdiff
path: root/usr/austin/eval/eval_test.go
AgeCommit message (Collapse)AuthorFilesLines
2009-10-14move austin/eval and austin/ogle to exp/eval and exp/ogleRuss Cox1-270/+0
R=r OCL=35736 CL=35746
2009-10-11interpreter checkpoint.Russ Cox1-2/+9
* generate different versions of binary operators for each size of int and float, so that proper truncating happens after each operation to simulate the various sized ops. * add slice expressions * publish World.CompileStmtList, CompileDeclList, CompileExpr * handle type-less expressions in CompileExpr R=austin DELTA=1459 (1327 added, 11 deleted, 121 changed) OCL=34382 CL=35581
2009-09-25Fix unused importsAustin Clements1-3/+0
R=rsc APPROVED=rsc DELTA=3 (0 added, 3 deleted, 0 changed) OCL=34970 CL=35007
2009-09-03Thread Thread into Value Get/Set/Assign so other ValueAustin Clements1-4/+4
implementations can abort. Make genConstant get values lazily since we need the Thread now. R=rsc APPROVED=rsc DELTA=299 (8 added, 19 deleted, 272 changed) OCL=34353 CL=34353
2009-09-03convert testing to World.Russ Cox1-136/+69
start on Decl, but not working yet R=austin DELTA=762 (201 added, 205 deleted, 356 changed) OCL=34335 CL=34349
2009-09-02s/vm/Thread/Russ Cox1-7/+7
change eval functions from taking *Frame to *Thread R=austin DELTA=500 (7 added, 4 deleted, 489 changed) OCL=34256 CL=34260
2009-09-01add generator for expr1.goRuss Cox1-1/+1
R=austin DELTA=959 (404 added, 99 deleted, 456 changed) OCL=34214 CL=34237
2009-09-01Interpreter unit tests for statements and expressionsAustin Clements1-0/+333
R=rsc APPROVED=rsc DELTA=1003 (1003 added, 0 deleted, 0 changed) OCL=34223 CL=34227