const types and a signed 8 bit integer type (was: Re: WebIDL plans?)

Shiki Okasaka (about a year ago):
> * add ConstType to the grammar; I chatted with Cameron about this before:
> 
> [12] Const -> "const" ConstType identifier "=" ConstExpr ";"
> 
> [65] ConstType ->
>     UnsignedIntegerType
>     | BooleanType
>     | FloatType
>     | ScopedName
>     | OctetType

I added this (and allowed DOMStrings to be consts).

> * add a signed 8 bit integer type. It could be a new "byte" type just like,
> 
> [47] IntegerType ->
>     | "byte"
>     | "short"
>     | "long" OptionalLong
> 
>    http://lists.w3.org/Archives/Public/public-script-coord/2010JanMar/0000.html

Added this too.

Thanks,

Cameron

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Sunday, 13 March 2011 23:35:58 UTC