pulumi/cmd
joeduffy 25d626ed50 Implement prototype chaining
This change more accurately implements ECMAScript prototype chains.
This includes using the prototype chain to lookup properties when
necessary, and copying them down upon writes.

This still isn't 100% faithful -- for example, classes and
constructor functions should be represented as real objects with
the prototype link -- so that examples like those found here will
work: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor.
I've updated marapongo/mu#70 with additional details about this.

I'm sure we'll be forced to fix this as we encounter more "dynamic"
JavaScript.  (In fact, it would be interesting to start running the
pre-ES6 output of TypeScript through the compiler as test cases.)

See http://www.ecma-international.org/ecma-262/6.0/#sec-objects
for additional details on the prototype chaining semantics.
2017-02-14 16:12:01 -08:00
..
apply.go Add scaffolding for mu apply, compile, and plan 2017-01-17 14:40:55 -08:00
compile_shared.go Implement a very rudimentary plan command 2017-02-13 14:26:46 -08:00
describe.go Use export tables 2017-02-13 09:56:25 -08:00
eval.go Implement a very rudimentary plan command 2017-02-13 14:26:46 -08:00
get.go Begin merging MuPackage/MuIL into the compiler 2017-01-17 17:04:15 -08:00
mu.go Add a mu verify command 2017-02-03 19:27:37 -08:00
plan.go Implement prototype chaining 2017-02-14 16:12:01 -08:00
verify.go Add a mu verify command 2017-02-03 19:27:37 -08:00
version.go Annotate a bunch of TODOs with work item numbers 2016-11-23 12:30:02 -08:00