JavaScript:Narcissus:Types: Difference between revisions

Jump to navigation Jump to search
Line 1: Line 1:
== Types in Narcissus ==
== Types in Narcissus ==
= Problem Description =
= Problem Description =
The current implementation of [[JavaScript]] in [[Narcissus]] only takes the ECMAScript v3 "type" system into account. ECMAScript v4 will introduce static type checking and type annotations into the language. In order to prototype new language features fast, we should extend Narcissus to understand the type annotations.
The current implementation of [[JavaScript]] in [[Narcissus]] implements only the ECMAScript v3 type conversion rules, mostly metacircularly (by using the host SpiderMonkey interpreter to do the converting). ECMAScript v4 will introduce type annotations and optional static type checking into the language. In order to prototype new language features fast, we should extend Narcissus to understand Edition 4 type annotations.


= Proposal for Adding Types to Narcissus =
= Proposal for Adding Types to Narcissus =
Confirmed users, Bureaucrats and Sysops emeriti
419

edits

Navigation menu