pulumi/pkg/eval
joeduffy 563fad29ec Add 1st class switch support
One guiding principle for what makes it into the MuIL AST is that
the gap between source language and AST should not be too great; the
projection of switch statements from MuJS into MuIL clearly violated
that principle, particularly considering that the logic wasn't even
right due to the incorrect emulation of conditional breaks.

Instead of digging deeper into the hole, I've encoded switch logic
in the AST, and implemented support in the evaluator.
2017-02-16 04:58:04 -08:00
..
rt Implement intrinsic function machinery 2017-02-15 15:35:52 -08:00
alloc.go Permit throwing anything 2017-02-15 10:04:33 -08:00
eval.go Add 1st class switch support 2017-02-16 04:58:04 -08:00
exceptions.go Implement intrinsic function machinery 2017-02-15 15:35:52 -08:00
intrinsics.go Implement intrinsic function machinery 2017-02-15 15:35:52 -08:00
scope.go Permit dynamic to flow through to eval 2017-02-11 08:39:45 -08:00