Re: [JS-internals] Self-hosting the ES5 object model

2013-01-30 Thread David Bruant
I have completely forgotten: I am extremely thankful to Tom Van Cutsem for https://github.com/tvcutsem/harmony-reflect I have shamelessly taken some of the copy there. I am thankful to Ariya Hidayat and Yusuke Suzuki for respectvely esprima and escodegen which made the test converter easy to wr

[JS-internals] Self-hosting the ES5 object model

2013-01-30 Thread David Bruant
Hi, This idea comes out of the realization that the entire ES5 object model (property descriptors, [[Extensible]]) can be implemented on top of POJSO and proxies. What I call POJSO (plain old js object) is an object which interface is reduced to get/set/has/delete/keys and with a prototype wh