<div class="gmail_quote">On Thu, Mar 1, 2012 at 11:13 AM, Adam D. Ruppe <span dir="ltr"><<a href="mailto:destructionator@gmail.com">destructionator@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Some integer semantics might be hard too. ubyte is ok, but byte<br>
is different because 127+1 isn't as simple as x & 0xff<br>
<br>
I'll have to think about that. Again, it surely *can*<br>
be done, but I'd rather than an error than it generating<br>
horribly inefficient javascript for simple operations.<br></blockquote><div><br></div><div>Might TypedArrays help you implement some number type semantics?  <a href="http://www.khronos.org/registry/typedarray/specs/latest/">http://www.khronos.org/registry/typedarray/specs/latest/</a></div>

<div><br></div><div>--bb</div><div> </div></div>