pulumi/pkg
joeduffy 2898747db4 Implement intrinsic function machinery
This change implements intrinsic function support in the runtime.

The basic idea is to swap out references to MuIL functions with
runtime-implemented functionality, for operations that cannot be
expressed in the MuIL-subset.  For example, this change includes
two such cases: 1) a mu.runtime.isFunction(obj) function to check if
the target object is a function; and 2) a
mu.runtime.dynamicInvoke(obj,obj,obj[]) function to dynamically
invoke a target object.

These will be used most immediately to implement ECMAScript toString
functionality in the MuJS runtime library, however it will also come
in handy shortly to implement things like printf (marapongo/mu#86),
string and array functions (marapongo/mu#80), and, eventually, the
ECMAScript-specific operators and behavior (marapongo/mu#61).
2017-02-15 15:35:52 -08:00
..
compiler Implement intrinsic function machinery 2017-02-15 15:35:52 -08:00
config Fix a few go vet issues 2017-01-27 15:14:19 -08:00
diag Use 1-based column numbers 2017-02-13 06:44:48 -08:00
encoding Use export tables 2017-02-13 09:56:25 -08:00
eval Implement intrinsic function machinery 2017-02-15 15:35:52 -08:00
graph Rename tempmark to visiting and mark to visited 2017-02-13 14:41:20 -08:00
pack Generalize default modules 2017-02-15 12:53:36 -08:00
tokens Use export tables 2017-02-13 09:56:25 -08:00
util Use export tables 2017-02-13 09:56:25 -08:00
workspace Probe for Mupacks, not Mufiles, for dependencies 2017-02-09 11:23:27 -08:00