Re: value_types + struct+types = decimal

2010-11-10 Thread Cormac Flanagan
I wrote up a design a while back for what might be called value proxies, which extend the Javascript proxy proposal to also trap primitive operators, enabling libraries for bignums or decimals, etc. The write-up is for an idealized 'micro-Javascript' language, but still helps clarify parts of the

Re: value_types + struct+types = decimal

2010-11-10 Thread Mark S. Miller
I just want to mention that this is an awesome paper. And I like its approach to introducing operator overloading into the language. On Wed, Nov 10, 2010 at 12:12 PM, Cormac Flanagan cor...@cs.ucsc.eduwrote: I wrote up a design a while back for what might be called value proxies, which extend